seat = script.Parent
function added(child)
	if (child.className=="Weld") then
		local human = child.part1.Parent:FindFirstChild("Humanoid")
		if human ~= nil then
			anim = human:LoadAnimation(seat.sitanim)
			anim:Play()
		end
	 end
end

function removed(child2)
	if anim ~= nil then
		anim:Stop()
		anim:Remove()
	end
end

seat.ChildAdded:connect(added)
seat.ChildRemoved:connect(removed)

The animation plays, but the leg is still bent as if the seat's animation has higher priority. My animation priority is action so it should be the highest. I tried waiting and playing the animation but it onnly shows a flash of the legs being straight then goes back to being bent. How do I remove the default leg bending?