My animations only play in the NPCs for the first player to join the server.. for everybody else the npcs just stand still. Don't know how to fix it? Here's the code.
wait (10)
local humanoid = script.Parent:WaitForChild("Humanoid")
local anim = Instance.new("Animation")
anim.AnimationId = "http://www.roblox.com/asset/?id=449814596"
local Idle = nil
while not Idle do
Idle = humanoid:LoadAnimation(anim)
wait()
end
wait()
Idle:Play()

2 comments
Could you please format your code? There's a blue button at the top right, that you might see when you're writing your question. Could you select your text and format it inside the parameters that they put? It will be easier for the SH Community to read it.
there