Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 4 years ago
Edited 4 years ago

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

Log in to vote
0
Answered by
Roger111 347 Moderation Voter
4 years ago
Edited 4 years ago

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
Oh, so if I just publish my game, others will see the animation? Thanks so much! You definitely deserve a higher reputation, thanks! BetterKelvinater 3 — 4y
Ad

Answer this question