View difference between Paste ID: NH36Av0p and 24CCbTeg
SHOW: | | - or go back to the newest paste.
1
os.pullEvent = os.pullEventRaw
2
while true do
3-
 
3+
4
rs.setOutput("back", false)
5-
 
5+
6
 term.clear()
7
 term.setCursorPos(17, 10)
8
 print("Please Enter Password:")
9
 term.setCursorPos(23,12)
10
 input = read("*")
11-
 
11+
12
 if input == "s0le3tyo" then
13
  term.clear()
14
  term.setCursorPos(20,10)
15
  print("Access Granted!")  
16
  rs.setOutput("back", true)
17
  sleep(30)
18
  rs.setOutput("back", false) else
19
  term.clear()
20
  term.setCursorPos(21,10)
21
  print("Access Denied!")
22
  rs.setOutput("back", false)
23
sleep(30)
24
end
25-
 
25+
26-
 
26+
27
end