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

I have a problem with the NCP Animations, can you help me?

Asked by 4 years ago
Edited 4 years ago

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 :(

0
you have to set the humanoidRootPart's anchor to false TheRealPotatoChips 793 — 4y
0
I think TheRealPotatoChips 793 — 4y
0
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. EmilyBendsSpace 1025 — 4y
0
Emily all of you say i do it and doesnt work but thanks! springcrack 0 — 4y

Answer this question