Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p = peripheral.wrap("right")
- while true do
- if p.getStackInSlot(1) then
- print("Item Detected in chest - Mining....")
- rs.setBundledOutput("bottom" , colors.black)
- sleep(.5)
- rs.setBundledOutput("bottom" , 0)
- turtle.digDown()
- sleep(5)
- turtle.forward()
- turtle.placeDown()
- sleep(2)
- else
- print("No item Detected. Waiting....")
- sleep(5)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement