daily pastebin goal
20%
SHARE
TWEET

Untitled

a guest Jan 11th, 2019 142 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- MasterLock by: Rhyleymaster
  2. user = username -- Username goes here.
  3. pass = password -- Password goes here.
  4.  
  5. term.clear()
  6. term.setCrusorPos(1,1)
  7. print "MasterLock V1.3"
  8. print " "
  9. while true do
  10.  write"Username:"
  11.  local q = read()
  12.  if q == user
  13.  then
  14.   write"Password"
  15.   local p = read("*")
  16.   if p == pass
  17.   then
  18.   print("Logging in...")
  19.   sleep(3)
  20.   else
  21.   print("Wrong username or password.")
  22.   sleep(3)
  23.   term.clear()
  24.   term.setCrusorPos(1,1)
  25.   end
  26.  else
  27.  write"Password:"
  28.  local f = read("*")
  29.  if f == ("password")
  30.  then
  31.  print("Wrong username or password.")
  32.  sleep(3)
  33.  else
  34.  print("Wrong username or password.")
  35.  sleep(3)
  36.  end
  37. end
  38. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top