Infinitely going up and animation failed to load

I am currently making a wall Jump system, and I am trying to force a player’s character to move slowly lose grip when hanging on a wall to long.

the animation fails to load. it also is sometimes delayed. And any wall jump with a JumpTimer makes it so when a character jumps too early it infinitely goes up

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

This is the code that forces the player down after an attribute time has passed:

if hit:FindFirstChild("_Wall"):GetAttribute("JumpTimer") then
	local JumpTimer = hit:FindFirstChild("_Wall"):GetAttribute("JumpTimer")
	Debris:AddItem(WallAttachment, GripDuration + JumpTimer)
	Debris:AddItem(WallConstraint, GripDuration + JumpTimer)
	task.wait(JumpTimer + 0.2)
	LinearVelocity.Enabled = true
	task.wait(2)
end

This uses linear velocity to make the character slowly slide down.