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

Is there any way to remove the default tool animation?

I would like to know if there's any way to remove the default tool animation where it just holds your tool with the right hand. I made a custom animation that is the idle for the tool, but the default animation still plays. My animation priority is set to idle, and I changed it to Action or Movement, and it worked I guess, but it interfered with a running animation I have when I try this. I tried disabling RequiresHandle and setting a custom weld, but that didn't work, since the default tool animation still played.

1 answer

If you want to have a costum idle animation, its easy.

First you need the animation. Just make it and insert a new animation in your tool with the ID of the animation you have made.

Add a local script and do the following:

local animation = script.Parent.Animation --Find the animation
local tool = script.Parent
local Lplr = game.Players.LocalPlayer

tool.Equipped:connect(function()
  local animPlay = Lplr.Character.Humanoid:LoadAnimation(animation) --Loading the animation and calling it "animPlay"
animPlay:Play() --Playing the animation.
end)

Make sure the priority is "ACTION" and the looping is set to true. If you forgot to set looping to true, you dont have to go back and change it. Just add this:

animPlay.Looping = true

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