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

NPC won't spin? Help? It won't spin the animation

Asked by 6 years ago

Hello,

So I made an animation. When I play the animation in the plugin, it spins. When I go play the animation and put it in the NPC and play it via script, it does not spin. It only does the part of the animation when the hands go up.

Thanks, Anthony

function onClicked()

local play = script.Parent.Parent.NPC2.Humanoid:LoadAnimation(script.Parent.Parent.NPC2.Animation2)
play:Play()

end
script.Parent.ClickDetector.MouseClick:connect(onClicked)

Answer this question