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

My animation wont play with the hand the tool is in?

1 answer

✓ Accepted answer

For some reason, the link is blocked for me. But I think I have a basic idea of what is going on because I was there too.

So, I think the issue is your animation is being overlapped the hold tool animation and since, I'm assuming, the hold tool animation has higher priority than your animation, your animation is not being played properly.

What you can do is set your animation's AnimationPriority to Action, the highest priority. You can set it with the Animation Editor or if you want, with script.

Here's how I would go about it in script; hope this helps!

local animation = game:GetService("Players").LocalPlayer.Character:WaitForChild("Humanoid"):LoadAnimation(script.Animation)
animation.Looped = true
animation.Priority = Enum.AnimationPriority.Action
animation:Play()

1 comment

0

thanks it worked. I had it set to action in the animation editor but it didn't work, but setting it in the script worked.

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