Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- detector = peripheral.wrap("left")
- while true do
- os.pullEvent("redstone")
- if rs.getInput("back") then
- turtle.select(1)
- turtle.attack()
- turtle.select(6)
- turtle.digDown()
- for i = 2, 5, 1 do
- turtle.select(i)
- turtle.dropDown()
- end
- turtle.select(6)
- turtle.placeDown()
- turtle.select(1)
- turtle.forward()
- turtle.dropDown()
- turtle.back()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment