How to make a player control a part on the server

I’m making a game which involves 2 players with cannons. My goal is simple: How do I make the players control the cannons so that the movement appears on the server? If I set the CFrames of the cannons, will the position replicate to the server?

1 Like

If there not anchored you can give the client Network Ownership and then the client can move the cannons in a localscript

If the cannons are anchored then you have to send remote events from the client to the server

The network ownership method will be more responsive

In this video I give network ownership of a car to the client and the client moves the car in a local script so it might help you

2 Likes

It works now, thanks for the help.