Animation works, but roblox animations are overwriting it

Hello, I’m making a tool, and when the tool is activated, an animation will play. However, the roblox default animations are “overwriting” it.

local an = script.Parent:WaitForChild("Eating")
local hm = game.Players.LocalPlayer.Character:WaitForChild("Humanoid")
local at = hm:LoadAnimation(an)

script.Parent.Activated:Connect(function()
	at:Play()
	wait(2)
	hm.Parent:WaitForChild(script.Parent.Name):Destroy()
end)

Basically the head moves and that’s it. Thanks~

Did you set the animation priority to animation?

1 Like

image
That’s my animation priority.

Try changing it to Action, I believe that Roblox’s default animations are set to Core, so you want a priority higher than Core. Action is the highest priority so that will probably fix the problem.

4 Likes