Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shell.run("clear")
- print("just harvesting some trees...")
- blocks = 0
- while turtle.detect() == true do
- turtle.dig()
- turtle.forward()
- blocks = blocks + 1
- while turtle.detectUp() == true do
- turtle.digUp()
- turtle.up()
- end
- while turtle.detectDown() == false do
- turtle.down()
- end
- turtle.forward()
- end
- turtle.turnRight()
- turtle.turnRight()
- for i=1,blocks do
- turtle.forward()
- turtle.forward()
- end
- shell.run("clear")
- print("Done harvesting the trees!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement