turtle.dig(); turtle.forward(); while turtle.detectUp() do turtle.dig(); turtle.digUp(); turtle.up(); end turtle.turnRight(); while not turtle.detectDown() do turtle.dig(); turtle.down(); turtle.dig(); end turtle.forward(); turtle.turnRight(); while turtle.detect() do turtle.dig(); turtle.up(); end while not turtle.detectDown() do turtle.down(); end print("DONE!!!");