Guest User

mine

a guest
Mar 11th, 2014
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.36 KB | None | 0 0
  1. function mine()
  2. redstone.setBundledOutput("right",1)
  3. sleep(13)
  4. redstone.setBundledOutput("right",0)
  5. redstone.setOutput("bottom",true)
  6. sleep(2)
  7. redstone.setOutput("bottom",false)
  8. sleep(2)
  9. end
  10. local p = peripheral.wrap("front")
  11. while true do
  12.   if p.getStackInSlot(1) then
  13.     print("true")
  14.     mine()
  15.   else
  16.     print("false")
  17.     sleep(5)
  18.   end
  19. end
Advertisement
Add Comment
Please, Sign In to add comment