Hi there,
As someone who is relatively inexperienced with scripting, bar the basics among other things, one thing I’ve been looking into with no success is the use of tweening client-side.
Although it is easy to run tweens on server-side, these stutter and don’t look smooth. (For reference I am trying to animate a door opening). Like, the idea I have is simple:
Detect the player clicking a click detector, using a remote event to transmit it to the server to then fire all clients, who will all animate the door locally instead of the server. However, I cannot seem to be able to figure it out. If you can help me with this, it would be extremely useful.
Thanks.
There is a module that already does this.
If you wanted to do it manually, however, you just send tween information to the clients have have them play it. Once the tween time has ran out, you teleport the object to its goal on server or you could tween it as well.
Oh, I never realised there was a module, thanks!