Change variables for server and clients?

Variable replication works only from Server to Client. If you want to send a variable to Server you need to call RPC event “Run on Server” and then “Multicast” from Server to all Clients.