Should I play animation on the server side or on the client side

I am currently trying to make a fighting game, and there are skills/ability to use. The question that I want to ask is I should play the animation on the server side or on the client side, I am worrying will it cause delay if I play animation on the server side. If I play animation on the server side, this can have a better control on script,

Thank you

You should always handle / play animations on the client whether that’s through a module running through a local script or simply just a local script, either one works- even if you play the animation on the client all other players will be able to see the animation as it’s replicated to all clients (players)

2 Likes

How about If I have a grab skill, I check the hitbox on the server side. This time need to be two player do animation at the same time. Should I play the animation on the server or on the client side?

1 Like

still on the client for both players, fire 2 remote events, one that handles being grabbed and one that handles grabbing then just play the respective animations for that specific player

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.