How would I make a tween play at the same time for two different players?

Hello,

Currently working on a project which needs a few moving parts, not an issue right? Just tween em.

However ive noticed in many games, including some of my older games, Tweens would run at different times for different players, meaning players standing on a moving part would look to be floating on other screens.

Havent coded it yet just because I know this issue will occur, so how would I circumvent the problem?

Thanks,
Clown

Hello, @AggressiveCIown

To fix the problem the animation must be played on the server, so that every player sees the same animation at the same time you use RemoteEvent for this.

What is RemoteEvent?

The RemoteEvent object facilitates asynchronous, one-way communication across the client-server boundary without yielding for a response. This communication can be directed from one client to the server, from the server to a specific client, or from the server to all clients.

1 Like

Actually, I just checked and it seems simply having the script in ServerScriptService fixed the issue

Thanks for the help anyways!