How would i sync all clients?

Im working on a tower defense game and i want the towers to be in sync with all clients while having smooth animations. Whats the best way i could do that? Also the animations use cframe which does not have to be in sync with all clients but the position of the tower has to be in the same position for all clients while the tower is moving down the path and while being smooth

1 Like

use RemoteEvents and :FireAllClients()

refer to the documentation: RemoteEvent | Documentation - Roblox Creator Hub

Id be firing to every client every second or even faster so im not sure this is a good method. But ill give it a try.

You could have the server set a Vector3 attribute for each tower, then have each client listen to .AttributeChanged / :GetAttributeChangedSignal and update the tower’s position accordingly

1 Like

I like this method will use this, Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.