When tweens run on the server, they are never smooth because the server has to replicate them to each individual client in the game. A game I’m working on consists of tweens for many different things such as elevators, tweening the player’s position, moving objects to different locations, doors, etc. All of these tweens are run from different server scripts.
The issue is that unless these tweens are run on the client, they aren’t smooth. This means I have to create a remote event for every single object I want tweened, and a corresponding client-side script. Then I have to pass all the tweenservice parameters into this client script and run it (have to reconstruct tweeninfo on the client because you can’t pass it directly through a remote event).
How can I make this process easier? Is there a way to setup a ModuleScript to handle this for all scripts in the game? I pretty much want every single tween in the game to run on the client.
Any help is much appreciated, thanks!