while Character.Parent~=nil do task.wait(.1)stepAnimate(os.clock())end
-- loop to handle timed state transitions and tool animations
while Character.Parent ~= nil do
	task.wait(0.1)
	stepAnimate(os.clock())
end
