Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function mine()
- redstone.setBundledOutput("right",1)
- sleep(13)
- redstone.setBundledOutput("right",0)
- redstone.setOutput("bottom",true)
- sleep(2)
- redstone.setOutput("bottom",false)
- sleep(2)
- end
- local p = peripheral.wrap("front")
- while true do
- if p.getStackInSlot(1) then
- print("true")
- mine()
- else
- print("false")
- sleep(5)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment