No one is going to try to read your code if you aren’t going to format it with CODE tags. A quick look through and I can’t tell how you’re trying to send to the server that you want to move the object on the client, but I can’t really read your code in the first place so I may just be missing it. Also you haven’t mentioned if the server or the client has authority over this object.
If the server has authority, on the client you would generally send a Command to the server to tell the server to move the object, and since Commands can only be sent on either that client’s Player object or another object that client has been assigned authority, you’d have that Command on a script attached to another object.