Animations half-playing + Non roblox default parts

So I’ve been working on animating a non-Rigged part already and it’s been working fine; however the animation is only half-playing. The animation priority is set to Action2, so it shouldn’t be the priority that is a problem. The animation is the problem, for I’ve tried to delete the animation script, and I’ve tried running the animation on both the humanoid and the animator. I believe that the culprit to this issue is that the animations just aren’t loading fast enough. If that is the case, then I need a solution that involves loading the animations faster

script.Parent.Activated:Connect(function()
	if x == 1  then
	x = 0
	local Hum = script.Parent.Parent:WaitForChild("Humanoid"):WaitForChild("Animator")
	local Anim = script.Parent.Pinch
	local AnimR = Hum:LoadAnimation(Anim)
	AnimR.Priority = Enum.AnimationPriority.Action2
	AnimR:Play()
	
	
wait(0.3)
x = 1
	else
		return 0
	end
end)

This is what the animation is supposed to look like. The whole thing works when it’s looped, but when it’s only played once it just half does it

I found the solution (with the help of everybody who commented [that’s nobody except for me]), it’s because you need to set a weight using the play() argument no#2.