Hi. I'm trying to make NPC Animations, and for some reason they just play when i test play on Roblox Studio, but when i try playing it in Roblox Player it wont work.
I have no idea how to fix this. Here is the code
script.Parent.Humanoid:LoadAnimation(script.Parent.Animation):Play()
Now, this Script is placed inside the NPC, and using a Normal Script. Along with the Animation being placed as the child of the NPC as well.
Would appreciate a fix! Thanks.

2 comments
Usually when this happens it's because you're using an animation that was uploaded under a different owner than the game you're testing in in. Example: Uploaded under group, won't work in your game. Example 2: Uploaded by you, won't work in a group game. It will however work in studio, just not live servers.
thanks this worked.