Advertisement
Guest User

Untitled

a guest
Nov 13th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.51 KB | None | 0 0
  1. os.loadAPI("sovietAPI")
  2.  
  3.  
  4. sovietAPI.sClear()
  5. print("SovietOS V0.01")
  6. print("Commudore Internationale")
  7. print(" ")
  8. sleep(1)
  9.  
  10. while true do
  11.   print("Login")
  12.   write("Username: ")
  13.   write(logname)
  14.   write("\n")
  15.   write("Password: ")
  16.   local input = read("x")
  17.   if input == logpass then
  18.     print(" ")
  19.     sleep(1)
  20.     print("Access Granted")
  21.     sleep(1)
  22.     sovietAPI.sClear()
  23.     break
  24.   else
  25.     print(" ")
  26.     sleep(2)
  27.     print("Password Incorrect")
  28.     sleep(1)
  29.     sovietAPI.sClear()
  30.   end
  31. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement