Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Chop()
- while turtle.detectUp() or turtle.detect() do
- turtle.digUp()
- turtle.dig()
- turtle.up()
- end
- while not turtle.detectUp() and not turtle.detectDown() do
- turtle.down()
- end
- end
- turtle.dig()
- turtle.forward()
- Chop()
- turtle.turnRight()
- turtle.dig()
- turtle.forward()
- turtle.turnLeft()
- Chop()
- print("Job's Done!")
Advertisement
Add Comment
Please, Sign In to add comment