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