while Character.Parent~=nil do local N,p=wait(.1)stepAnimate(p)end
-- loop to handle timed state transitions and tool animations
while Character.Parent ~= nil do
	local _, currentGameTime = wait(0.1)
	stepAnimate(currentGameTime)
end
