Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

will everyone see the animation if it is played in a local script?

the title is my question so if I play an animation in a local script, will every player see it? im just looking for a y/n answer

2 answers

✓ Accepted answer

Yes.

And even though you asked for Y/N I need rep, so here you go.

ROBLOX characters have control of all of the parts in their character, on the client side. This means that if they move the parts on the client, it is replicated to the server, which is replicated to all clients.

Yes. Animations played on the client are automatically replicated (meaning the server and other players will see the animation), but there's a gotcha. If you load the animation on the humanoid before the Animator is instantiated, animations don't replicate. It's recommended that you wait for the Animator and load animations on it directly, as Humanoid:LoadAnimation() is deprecated and suffers the aforementioned issue.

local Animator = Humanoid:WaitForChild('Animator')
local AnimationTrack = Animator:LoadAnimation(Animation)

This discussion is preserved as it was. New answers, comments, and votes are closed.