So I created a custom idle animation to override the hand sticking out animation when a tool is equipped.
But It ends up playing both the idle animation and hand sticking out. How do I make it so that it only plays the idle animation I made when idle while tool is equipped?
This is my local script:
local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local Animator = Humanoid:WaitForChild("Animator",10)
local Mjolnir = script.Parent
local IdleAnimation = Instance.new("Animation")
IdleAnimation.AnimationId = "rbxassetid://6116718517"
local LoadIdleAnimation = Animator:LoadAnimation(IdleAnimation)
LoadIdleAnimation.Priority = Enum.AnimationPriority.Idle
Mjolnir.Equipped:Connect(function()
LoadIdleAnimation:play()
end)