#Should i do my animations locally or server-side

1 messages · Page 1 of 1 (latest)

void meadow
#

I might want to do it on the server because i play the audio on the server and i might want it to match with the audio.

civic mulch
indigo drift
broken spoke
finite anvil
#

use Humanoid.Animator instance

#

to load the animation

#

its better on the Client, it replicates automatically to everyone

#

But make sure the Animator exist on the server

broken spoke
finite anvil
# broken spoke wb a motor6d

Motor6D its the way to tell roblox what parts can be animated, but as i said, just use Humanoid.Animator:LoadAnimation()

#

Even if that is called from the client it will replicate

broken spoke
#

yeah no but like let's say i have a weapon and i want replicated animations for that

#

if i have a thing that i pick up, when i pick it up i should do it on the server, for validation reasons, but should i do the pick up animation on the client by sending a signal/picking up the pick up signal from the client aswell or do i just do it all on the server

finite anvil
broken spoke
#

since you can receive the proximityprompt.activated on the server

finite anvil
#

Problem is server validation, if you have validation in the server it can go wrong if the client play the animation without passing the validation

#

but if you find a way 100% use client

broken spoke
indigo drift
# broken spoke yeah but then i have to deal with replicating an animation with code and it stil...

roblox servers already replicate animations to all other players.(its why u can see cheaters have custom animations). But you should ALWAYS let the client do the heavy lifting for replication stuff like effects since its MUCH better on ur network. You can just tell the server oh yea im casting a fireball then the server will tell the other clients to create the fireball where the client said this way the server doesnt have to go back and fort telling all the clients to replicate the fireball from this position to another this will just waste bandwidth or whatever its called.

broken spoke
indigo drift
#

I mean u can play the animations on the server but its just better to play it on the client

#

like realistically your server should be empty when u swap between client and server in roblox studio except for like maybe the map just for bug testing