while Character.Parent~=nil do local v=wait(.1)stepAnimate(v)end
-- loop to handle timed state transitions
while Character.Parent ~= nil do
	local currentGameTime = wait(0.1)
	stepAnimate(currentGameTime)
end
