Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- turtle.up()
- for i=1,7 do
- avancer()
- ins()
- end
- turtle.turnRight()
- avancer()
- ins()
- turtle.turnRight()
- for i=1,6 do
- avancer()
- ins()
- end
- turtle.turnLeft()
- avancer()
- ins()
- turtle.turnLeft()
- function avancer()
- turtle.forward()
- end
- function ins ()
- block, meta = turtle.inspect()
- print(meta.metadata)
- if meta.metadata ==7 then
- turtle.digDown()
- turtle.placeDown()
- end
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement