Animation not Playing properly

So I made a custom character, and I’m trying to play an animation on it (it works in animation editor), it doesn’t work. It’s supposed to be a walking animation, and the animation priority is movement.

Code:

piggyCharacter:WaitForChild('Humanoid').Running:Connect(function()
			local animation = piggyCharacter:WaitForChild('AnimationController'):WaitForChild('Animator'):LoadAnimation(animations:WaitForChild('Walk'))
			animation:Play()
		end)

There are no errors, and the animation “plays”, but it doesn’t show up on the character. Please help!

Is there any animation on the character that has a higher priority/weight than the animation?

Set the animation which you have chosen’s Priority to Action4

I tried setting it to Action, but didn’t work.

Doesn’t work, unfortunately, don’t think the issue is animation priority