Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local color = colors.lime
- term.clear()
- term.setCursorPos(1,1)
- password = "Vault-Tec"
- opentime = 20
- term.setTextColor(color)
- print("--------------------------------------------------")
- print("---------------VAULT 59 DOOR CONTROLS--------------")
- print("--------------------------------------------------")
- print("-- ROBCO INDUSTRIES (TM) TERMLINK PROTOCOL --")
- print("-- ENTER PASSWORD NOW --")
- print("-- --")
- print("-- --")
- print("-- --")
- print("-- --")
- print("-- PASSWORD: --")
- print("-- [ ] --")
- print("-- --")
- print("-- --")
- print("-- --")
- print("-- --")
- print("-- --")
- print("-- ROBCO / VAULT-TEC UI Model 1.3 --")
- print("--------------------------------------------------")
- print("--------------------------------------------------")
- term.setCursorPos(20,10)
- input = read("*")
- if input == password then
- term.setCursorPos(8,12)
- print("Password Recognised. Door Opening.")
- rs.setBundledOutput("bottom", 0)
- rs.setBundledOutput("bottom", colors.red)
- sleep(opentime)
- rs.setBundledOutput("bottom", 0)
- rs.setBundledOutput("bottom", colors.green)
- sleep(opentime)
- os.reboot()
- else
- term.setCursorPos(12,12)
- print("Password not Recognised.")
- sleep(1)
- os.reboot()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement