Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function mineForward(spaces)
- spaces = tonumber(spaces)
- while not turtle.detect and spaces = 0 do
- turtle.forward()
- end
- while turtle.detectUp do
- turtle.digUp()
- end
- spaces = spaces - 1
- end
Advertisement
Add Comment
Please, Sign In to add comment