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

How to disable the default tool animation?

I asked this question before, and the answer I got didn't work, unfortunately. I just would like to know how to disable the default roblox tool animation, where the player always raises their right arm. I tried making my idle animation for a tool looped and have a priority of Idle, have it a priority of Action, I tried disabling RequiresHandle and setting a custom weld, I tried editing the animate script in the player and editing the default idle animation, but none of these worked.

2 comments

0

Rotate the arm's C0 by pi / 2 rads to put it back in the default position, and then reverse that rotation when they unequip

0

And then what about my actual idle animation, that uses the right arm?

1 answer

It's very annoying when you animate a tool but it still plays the awkward Default Tool Animation, so i use this line of code in my tools so it won't play:

local Player = game:GetService("Players").LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait(.1)

repeat wait(0.5)
	Character:FindFirstChild("Animate"):FindFirstChild("toolnone"):FindFirstChild("ToolNoneAnim").AnimationId = "rbxassetid://2319711746"
until Character:FindFirstChild("Animate"):FindFirstChild("toolnone"):FindFirstChild("ToolNoneAnim").AnimationId == "rbxassetid://2319711746"

see that '2319711746'? (lol of course you see it) i recommend you to create a blank animation, wich doesn't moves anything in your character then you upload it to Roblox and replace your blank animation ID with mine's :)

2 comments

0

What priority?

0

@ScrubSadmir Core

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