I need to walk to my Idle animation update

i had this problem many times but i cant solve it and i didnt find anything about it, i tried to increase the animation priority but was the same.

		if Event == "Equip" then
			if debris.hasSword.Value ~= "" then
				if debris.equipped.Value == false then
				debris.equipped.Value = true
				Change.Walk.AnimationId = "rbxassetid://6572524865"
				
				Change.Idle1.AnimationId = "rbxassetid://6569367517"
				Change.Idle2.AnimationId = "rbxassetid://6569367517"

			elseif debris.equipped.Value == true and not debris.parry.Value and not debris.defending.Value and not debris.Attacking.Value then
				debris.equipped.Value = false
				Change.Walk.AnimationId = "rbxassetid://6568957761"
				
				Change.Idle1.AnimationId = "rbxassetid://6569012235"
				Change.Idle2.AnimationId = "rbxassetid://6569012235"
				end
			end
1 Like