Advertisement
Guest User

password

a guest
Dec 12th, 2017
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.57 KB | None | 0 0
  1. oldPull = os.pullEvent
  2. os.pullEvent = os.pullEventRaw
  3.  
  4.     term.clear()
  5.     term.setCursorPos(1,1)
  6.     print("Random Security Vista 0.2")
  7.     print("Username: RandomZFx")
  8.     write("Password: ")
  9.    
  10.     if read("*") == "test1" then
  11.        print("Access Granted...")
  12.       sleep(2)
  13.       term.clear()
  14.       sleep(1)
  15.       print("Welcome Back RandomZ...")
  16.       term.setCursorPos(1,1)
  17.     else
  18.       print("Incorrect Login Details.")
  19.       sleep(1)
  20.       rs.setOutput("back",true)
  21.       sleep(10)
  22.       rs.setOutput("back",false)
  23.       os.reboot()
  24.     end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement