Advertisement
Guest User

Untitled

a guest
Aug 25th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. redstone.setOutput("bottom", true)
  2. mon = peripheral.wrap("monitor_0")
  3.  
  4. local pass = "1234"
  5. local bool = 1
  6.  
  7. mon.write("Centrale nucleaire. Acces strictement interdit !")
  8.  
  9. while bool == 1 do
  10. if disk.isPresent("front") then
  11. if disk.getLabel("front") == pass then
  12. bool = 0
  13. redstone.setOutput("bottom", false)
  14. end
  15. end
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement