Advertisement
MassacreLand

Account.Password.Protection

Feb 2nd, 2012
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.77 KB | None | 0 0
  1. user1 = false;
  2. user2 = false;
  3. pass1 = "<Enter password 1 without <> >";
  4. pass2 = "<Enter password 2 without <> >";
  5. local user = tpt.input("USERNAME", "Please enter your username: ");
  6. if user ~= "MassacreLand" then do user1 = false;
  7. end;
  8. end;
  9. if user ~= "NelsonMandela" then do user2 = false;
  10. end;
  11. end;
  12.  
  13. if user == "MassacreLand" then do user1 = true user2 = false;
  14. end;
  15. end;
  16. if user == "NelsonMandela" then do user1 = false user2 = true;
  17. end;
  18. end;
  19. if user1 == false and user2 == false then do saveMe = true;
  20. end;
  21. end;
  22.  
  23. if saveMe == true then do os.exit();
  24. end;
  25. end;
  26. local pass = tpt.input("PASSWORD","Please enter the password: ");
  27. if user1==true and pass ~= pass1 then do os.exit();
  28. end;
  29. end;
  30. if user2==true and pass ~= pass2 then do os.exit();
  31. end;
  32. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement