Hello there. I'm having troubles playing an animation I've created for a tool. I believe the problem is the holding animation overrides my animation? I've tried setting my animation's priority to "Action", however it did not fix anything. I've also created a script that stops all other animations before playing it, but it has proven to be more problematic, if anything. If it is helpful, here is the script, inside of the tool:
animations = {"rbxassetid://129967390","rbxassetid://3294241860"}
animation = Instance.new("Animation")
slash = 0
cooldown = 0
text = script.Parent.Handle.BillboardGui.TextLabel
function repair(contents,name)
game.ServerStorage.Freeze:Fire(game.Players:FindFirstChild(script.Parent.Parent.Name),0)
text.BackgroundColor3 = contents[#contents].Value
for _,v in pairs(script.Parent.Parent.Humanoid:GetPlayingAnimationTracks()) do
v:Stop()
end
animation.AnimationId = animations[2]
local playanimation = script.Parent.Parent.Humanoid:LoadAnimation(animation)
playanimation:Play()
for i = 1,contents[1].Value*10 do
text.Text = name..": "..(contents[1].Value*10 - i)/10
wait(0.1)
end
game.ServerStorage.Freeze:Fire(game.Players:FindFirstChild(script.Parent.Parent.Name),1)
text.Visible = false
script.Parent.Handle.Sound1:Play()
end

3 comments
I could be wrong, which is why this is a comment, but the Animation script you find in your player's character may contain code that causes the Arm to move when a tool is equipped, meaning modifying that would suffice
Interesting. The right arm, by default, does move forward when a tool is equipped. Would you be so kind as to elaborate?
Nevermind. I've fixed it. The problem was the animation :)