Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- repeat
- if redstone.getAnalogInput("left") == 0 then
- os.shutdown()
- end
- turtle.select(1)
- if turtle.compare() == true then
- sleep(5)
- else
- turtle.select(16)
- turtle.refuel(5)
- turtle.select(1)
- while turtle.detect() == true do
- turtle.dig()
- turtle.digUp()
- turtle.up
- end
- while turtle.detectDown() == false do
- turtle.down()
- end
- turtle.suck()
- turtle.turnRight()
- turtle.turnRight()
- i = 15
- while i > 1 do
- turtle.select(i)
- turtle.drop()
- i = i - 1
- end
- turtle.turnRight()
- turtle.turnRight()
- turtle.select(1)
- turtle.place()
- end
- until 1 > 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement