Hi, each time I try and run a animation onto a NPC, it works in studio however it never works when I play the actual game multiplayer. I've experienced this a few times, often I can fix it but this time I couldn't. Is there any chance someone could help me out?
local Anim = script.Parent:WaitForChild('Animate') repeat wait() until Anim local AnimTrack = script.Parent.Humanoid:LoadAnimation(Anim) AnimTrack:Play()
This is the code I had. Thank you to anyone who answers
I was dealing with something similar a few days ago.
Check out the Answer of "OldPalHappy" on this question:
You can read more about it on the ScriptingHelper guides area: