Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- os.pullEvent("redstone")
- if rs.getBundledInput("front") == colors.white then
- turtle.select(1)
- turtle.digUp()
- while not turtle.up() do
- sleep(0.1)
- end
- while not turtle.up() do
- sleep(0.1)
- end
- turtle.select(2)
- turtle.place()
- local re = peripheral.wrap("front")
- re.pullIntoSlot("east",2,1,0)
- sleep(1)
- re.pushIntoSlot("east",0,1,2)
- turtle.dig()
- while not turtle.down() do
- sleep(0.1)
- end
- while not turtle.down() do
- sleep(0.1)
- end
- turtle.select(1)
- turtle.placeUp()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement