--------------------------------------------		

	if waypoint.Action == Enum.PathWaypointAction.Jump then
	Human:ChangeState(Enum.HumanoidStateType.Jumping)
	end
	while wait() do
		Human:MoveTo(waypoint.Position)
	    break
	end
	Human.MoveToFinished:Wait()
    end

	Human:MoveTo(goal)
end

while wait(5) do
	RandomP()
end


	

