SHOW:
|
|
- or go back to the newest paste.
1 | os.pullEvent = os.pullEventRaw | |
2 | term.clear() | |
3 | term.setCursorPos(1, 1) | |
4 | ||
5 | print("HECATE-INDUSTRIES OS v1.0") | |
6 | print("UserName: Sakarias") | |
7 | write("Password: ") | |
8 | input = read("*") | |
9 | ||
10 | password = "guristas" | |
11 | ||
12 | if input == password then | |
13 | print("ACCESS GRANTED... OPENING BLAST DOORS") | |
14 | rs.setOutput("back", true) | |
15 | sleep(15) | |
16 | rs.setOutput("back", false) | |
17 | os.reboot() | |
18 | else | |
19 | print("ACCESS DENIED...") | |
20 | sleep(3) | |
21 | os.reboot() | |
22 | end |