Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why animation not playable on tool when equipped?

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.

3 comments

0

Did you make sure to set the priority to Action instead of Core?

0

Do you own the animation?

0

i own animation

1 answer

✓ Accepted answer

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,

1 comment

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

This discussion is preserved as it was. New answers, comments, and votes are closed.