#server - client logic

1 messages · Page 1 of 1 (latest)

finite lava
#

Basically, I made a system where when a player picks up an item (on the server), a pickup animation plays on all clients using a tween. After the tween finishes, the server deletes the part. I’m not sure if it’s a good idea to trust the client to tell the server when the tween has completed. do u guys have a better idea in mind or is this fine?

gleaming stump
#

you could fire the clients with the duration of the tween and then in the server script use task.delay for that same duration and then delete the part

finite lava
velvet escarp
#

the server would already know how long the tween takes when it receives the pickup command

#

if it doesn't, you messed up.

finite lava