Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local A = ("true")
- print ("Zone securisee")
- text = read()
- if text == A
- then redstone.setOutput("back", true)
- sleep(10)
- redstone.setOutput("back", false)
- os.shutdown()
- else print("acces non autorise")
- write("redemarrage")
- sleep(1)
- write(".")
- sleep(1)
- write(".")
- sleep(1)
- write(".")
- sleep(1)
- os.reboot()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement