How can I animate this tool?

The problem is the arm that holds the tool isn’t lifting up

This is inside the animation editor

Here is inside the game

	while wait (1) do 
				local animation = NPCHUM:FindFirstChild("Animation")
				
				if not animation then 
					print("load animation")
					local animation = Instance.new("Animation")
					animation.Parent = NPCHUM
					animation.AnimationId = "rbxassetid://5632704071"	
				end
				
				if animation then 
					print("play animation")
					local ani = NPCHUM:LoadAnimation(animation)
					ani.Priority = Enum.AnimationPriority.Action
					ani:Play()
					ani.Stopped:Wait()
				end
	
				main(HMR, NPCHMR, player)
			end 
1 Like

Try changing the animation’s priority to action through the animation editor instead of using scripts

i got it working, I copied the npc from play test and i made a new animation using that rig

1 Like