Getting variables to server,

Okay so I am familiar with replication of variables. However I want to know how to put a variable on a server, and can be used on clients later on.

You need to set the value on the server, where it will be replicated to all clients. Create a replicated function to set it on the server

Further, see the Blueprint Networking videos on the UnrealEngine YouTube channel.