Why Does Server Tween Look Laggy Compared to Local Tween?

I made Tween scripts using both a ServerScript and a LocalScript, but they don’t match.
The server one is kind of laggy, and the local one is smooth.
How can I make them look the same?

I’ve even tried asking ChatGPT, but I’m still not sure how to get them to look identical.
It might not be very noticeable in the video, but in-game the difference is quite significant.
The left side is the LocalScript version, and the right side is the ServerScript version.

2 Likes

Server have to calculate it and send it to client at the same time he calculating tons of other tasks, plus it depends on your internet connection. You better to handle all visual effects on client and calculations on server for best practice

1 Like

Like hazel said, the server has to do alot of stuff, not just visual. Usually effects are handled on client and replicated on all clients using an event. an remote event that uses :FireAllClient.
This way, it can be replicated and more smooth.

1 Like

Why are you trying to do vfx on the server? You should handle almost everything related to visuals on the client
Set up a simple system where the server sends a message to the client to set up needed vfx, you’ll need a modulescript and remoteevents for that, from this point it’ll be smooth sailing with all the perfomance benefits of the client

1 Like

As other developers have mentioned above, server needs time to calculate everything among the other tasks. It’s not advisable to use TweenService or animate any parts on the server.

Simply, if you want all players to see an effect, fire a remote event to all clients at the target location, whenever it needs to be played (server → client)