How do I script a animation to a tool?

How do I script a animation to a tool?

1 Like

Just look up how to play an animation in a script and make it play when the tool is equipped

2 Likes

When do you want the animation to be triggered, after certain input whilst holding the tool or just equipping it?

While equipped, for say you are pulling out the tool instead of the defualt animation.

Tool.Equipped:Connect(function()
    -- Play the animation.
end)

Tool.Unequipped:Connect(function()
    -- Stop the animation.
end)

You’d need to make it so when you equip a tool, it should play an animation.

You can use a Tool.Activated function and learn about playing an animation here. Good luck!