What's the proper way to set a reference?

Now it’s working on the client but not the server and same thing if I rotate on the client it simultaneously rotates on the server as well.

@Boomer64