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

How Come Other Players Cannot See My Animations I Coded Onto NPCs?

I've created an NPC and coded a script (not a localscript) and whenever I press test or Team test, I can see the animation clearly while my friend does not see the animation on the NPC at all, why could this be happening? I put it on a dummy on the workspace, and inside that dummy, I inserted a script and inside that, I inserted the Animation ID. Down below is the code I am using but only I can see it, can anyone help me out with this? I am also very new to coding so Im sorry, it would be helpful to explain everything, thanks! btw nothing is in the serverscriptstorage, and if you know the answer, please describe it thoroughly, I'm very sorry but I ain't that smart at this

local animation = script:WaitForChild('Animation')

local humanoid = script.Parent:WaitForChild('Humanoid')

local dance = humanoid:LoadAnimation(animation)

dance:Play()

1 answer

✓ Accepted answer

Yea that's awesome you're getting into animation HOWEVER one thing you need to remember is: your animations are private

How to make work: Publish your game to Roblox and Play the game normally with your friends

1 comment

1

Oh, so if I just publish my game, others will see the animation? Thanks so much! You definitely deserve a higher reputation, thanks!

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