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

Why animation not playable on tool when equipped?

Asked by 4 years ago

I was make script that tool animation works. A tool not play animation. Here the code

local humanoidanimtion = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(script.Parent.dance)
script.Parent.Equipped:Connect(function()
    humanoidanimtion:Play()
end)
script.Parent.Unequipped:Connect(function()
    humanoidanimtion:Pause()
end)

If this works for you. i don't work for me. Please answer me and i will replace that.

0
Did you make sure to set the priority to Action instead of Core? Farsalis 369 — 4y
0
Do you own the animation? Axemurderer27 -3 — 4y
0
i own animation PLplayz999 14 — 4y

1 answer

Log in to vote
0
Answered by
IrishFix 124
4 years ago

You should make sure the animation type is "Action" and that the parented object is correct. Other than that you can look up animations in tools via script to find other help,

0
Oh yeah. I got error on this script :Pause () is incorrect it's called :Stop() lol. ok thanks for answering this. Animation Priority Issue was a problem. I accepted PLplayz999 14 — 4y
Ad

Answer this question