Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if not turtle.dig() then
- error('Robot cann`t dig!')
- end
- turtle.forward()
- k=0
- while turtle.compareUp() do
- turtle.digUp()
- turtle.up()
- k=k+1
- end
- for i=1,k do
- turtle.down()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement