How to control the server-side role from the client?

Click the space of the client, the server’s role to move to the client’s location,Note that it is not client-side replication on the server,I tried a lot of methods are ineffective,Has anyone tried this?