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

How would I make a custom walking animation for a tool only?

So basically i just want to know how i would make a tool with a custom walking animation only for that one tool. Btw ik this doesen't have a script as an example i would just like to know how to make this.

1 answer

✓ Accepted answer

First, you make some variables, then make .Equipped and .Unequipped event that will play or stop the animation

local anim = -- the animation here
local animtrack = humanoid:LoadAnimation(anim)

tool.Equipped:connect(function()
	animtrack:Play()
end)

tool.Unequipped:connect(function()
	animtrack:Stop()
end)

1 comment

0

thanks

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