SHOW:
|
|
- or go back to the newest paste.
1 | - | function loop() |
1 | + | --Turtle program to remove |
2 | --ender quarry fence | |
3 | function remove() | |
4 | while turtle.detect() do | |
5 | turtle.dig() | |
6 | sleep (1) | |
7 | turtle.forward() | |
8 | sleep (1) | |
9 | end | |
10 | - | loop() |
10 | + | |
11 | ||
12 | function turn() | |
13 | while turtle.detect() false do | |
14 | turtle.turnLeft() | |
15 | ||
16 | ||
17 | remove() |