Just as the title suggests, I’m basically trying to tween the character vertically very quickly with a local script replicated to all clients (Local Script > Server > All Clients).
The problem: When I tween a character on the Local Script it looks like this
And this is an example of what it’s supposed to look like but using a SERVER script
I have tried anchoring the root part and changing the root network ownership on the server. And as you can see above, I also tried tweening on the server instead of replicating to the clients. However, that turned to be a massive problem outside of Roblox studio as it would be extremely lag intensive on Roblox’s official servers. Been stuck on this awhile and would really appreciate the help.
1 Like
You could fire the relevant information to the server, which then forwards the information to all the other clients.
The server itself just passes the information, while the clients are the ones processing it.
This’ll relieve the burden off the Roblox servers.
What would you consider “relevant” information? The server currently only receives 2 arguments.
- The player who fired to the server
- The player of the character that will be tweened
Then the server fires the 2nd argument back to all clients to then tween.
Actually, if the tween is applying to the player’s character, wouldn’t it replicate automatically to everyone? Have you tested this with multiple players?
Yes I’ve tested on Roblox’s servers in game, as well as making a local server with several clients. They all seem to run the same problem. But the reason I had to replicate the tween to all clients was because if only one client was tweening their own character, the other clients wouldn’t see the tween until it was finished.
That should be right, you might also want to pass additional information if you want different types of landing animations, perhaps the animation name?