Hi there! well i have a problem with the NCP animations... in the Roblox Studio works but in the game of Roblox doesnt works, i dont know why and how but i think someone can help me. If you can help me with this problem I'll be very greatful. Here my script and other information:
local animation = script:WaitForChild('Animation')
local humanoid = script.Parent:WaitForChild('Humanoid')
local dance = humanoid:LoadAnimation(animation)
dance:Play()
(this into the NCP and inside the script there are an animation "rbxassetid://THEIDOFTHEANIMATION") Thanks for see this question and pls help me if you can :(

4 comments
you have to set the humanoidRootPart's anchor to false
I think
This code will work fine if the animation instance is a child of the Script and it's actually named "Animation". If it's named something else, or located somewhere else, this will not work.
Emily all of you say i do it and doesnt work but thanks!