How would I go about making a walk or run animation for a tool?

Im trying to make a fists tool, and want to have a walk animation in it, how would I do this? I have no idea where to start besides maybe keybinding w,a,s, and d, but that would be inefficient.

3 Likes

You can go in the default animation script that is inserted into your character and replace the default walk animation id to your custom one.

In addition, tell your script to change the default walk animation value inside of the character animation handler on the event of the tool being equipped.

When the tool is unequipped, change the animation value inside of the handler back to the default one.

This is how the script with the values should look like inside of your character.
image

Alright, ill test this. Thank you.

You could also duplicate the animation script and change all the properties, put it in the startercharacterscripts and when a new character is added, disable the default one.

I tried using your method but it didn’t work

here is the script:

script.Parent.Equipped:Connect(function()

script.Parent.Parent.Animate.walk.WalkAnim.AnimationId = "rbxassetid://6059597620"

end)

script.Parent.Unequipped:Connect(function()

script.Parent.Parent.Animate.walk.WalkAnim.AnimationId = "rbxassetid://913402848"

end)