Change Default Animations When Holding A Tool

I want to know how I could change the default animations of the character, like running, and idle when holding a tool. I’ve already changed the default animations with custom animations, but how do I make it when u are holding a tool it changes those. Like override my current custom animations

1 Like

you can change animation IDs when tool is equipped i think

Tool.Equipped:Connect(function()
    --change animation ids here?
end)

Add a local script in a tool and type this:

Create a animation in your local script
and put animation id in and name it Idle

Code
wait(2)

local hum = game.Workspace[game.Players.LocalPlayer.Name]:FindFirstChild("Humanoid")
local idle = hum:LoadAnimation(script.Idle)
script.Parent.Equipped:Connect(function()
idle:Play()
end)

If animation plays but not animate tool you should change you animation priority to Action!

image

6 Likes