Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- turtle.forward()
- local success, data = turtle.inspectDown()
- if data.metadata == 7 then
- turtle.digDown()
- turtle.suckDown()
- turtle.select(2)
- end
- if turtle.detectDown() == false then
- turtle.placeDown()
- end
- if turtle.detect() == true then
- turtle.turnRight()
- turtle.forward()
- if turtle.detect() == true then
- turtle.select(2)
- turtle.drop()
- turtle.select(2)
- end
- turtle.turnRight()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement