Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- redstone.setOutput("bottom", true)
- mon = peripheral.wrap("monitor_0")
- local pass = "1234"
- local bool = 1
- mon.write("Centrale nucleaire. Acces strictement interdit !")
- while bool == 1 do
- if disk.isPresent("front") then
- if disk.getLabel("front") == pass then
- bool = 0
- redstone.setOutput("bottom", false)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement