Erwd2

Zamok

Jul 7th, 2021
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1. os.pullEvent = os.pullEventRaw
  2.  
  3. while true do
  4.   term.clear()
  5.   term.setCursorPos(1, 1)
  6.   print("Erwd2")
  7.   input = read("*")
  8.   if input == "2006" then
  9.     print("Access granted")
  10.     sleep(3)
  11.     exit()
  12.   else
  13.     print("Access denied")
  14.     sleep(3)
  15.     os.shutdown()
  16.   end
  17. end
Advertisement
Add Comment
Please, Sign In to add comment