You are not doing somthing wrong. Your variable has not two values.
You have two different variables with the same name…
One of them is in the server side, the other is in the cliente side.
Use the node “switch has authority” to handle the side you want.
Or replicate the variable so the client will copy the value the server has.
(Joel is in the client and Solo is in the server).