Help with animations

I want to play this animation when the player equips the tool and I want the axe to swing around but in the actual game the axe doesn’t get animated

External Media External Media
2 Likes

Is the animation’s priority set to Action or higher?

1 Like

Yes that’s the first thing I checked

1 Like

Are you attempting to play an idle animation at the same time?
Do you have custom movement animations implemented? If so, what’s their priorities?
Does your script change the priority of the animation?
Can we see your script?

  1. No
  2. No
  3. No
local player = game.players.LocalPlayer
local character = player.Character
if not character or character = player.CharacterAdded:Wait()

local tool = script.Parent

local humanoid = character:WaitForChild("Humanoid")
local animator = humanoid:WaitForChild("Animator")

local equipAnim = Instance.new("Animation")
equipAnim.AnimationId = "rbxassetid://14372881790"

local equipAnimTrack= animator:LoadAnimation(equipAnim)

tool.Equipped:Connect(function()
     equipAnimTrack:Play()
end)

Oh, I see what the problem is.

You see, by default, tools are welded to the hand, which you can’t animate.

You would have to find a way to replace the weld with a Motor6D. If you do some research on tools I’m sure you can figure it out (I’m on phone so I won’t bother)