Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function forward(stp)
- for c=1,stp do
- while turtle.detect() do
- turtle.dig()
- sleep(1)
- end
- turtle.forward()
- turtle.digUp()
- turtle.digDown()
- end
- end
- function tleft(stp)
- for c=1,stp do
- turtle.turnLeft()
- end
- end
- function tright(stp)
- for c=1,stp do
- turtle.turnRight()
- end
- end
- forward(28)
- tleft(2)
- forward(28)
- turtle.up()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement