Advertisement
Guest User

startup

a guest
Jul 13th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.73 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos(1,1)
  3. term.setBackgroundColor(colors.white)
  4. term.setTextColor(colors.black)
  5. term.clear()
  6.  
  7. print("Radics Peti Mozi Security 1.5")
  8. print("UserName: not tankcsapda2")
  9. write("Password: ")
  10. function pass()
  11. t = io.read()
  12. if t == "haver" then
  13. term.setTextColor(colors.green)
  14. print ("Access Granted.")
  15. term.setTextColor(colors.black)
  16. sleep(2)
  17. term.clear()
  18. term.setCursorPos(1,1)
  19. -- term.setBackgroundColor(colors.black)
  20. term.clear()
  21. else
  22. term.setTextColor(colors.red)
  23. print ("Incorrect Login Details.")
  24. term.setTextColor(colors.black)
  25. sleep(1)
  26. term.clear()
  27. term.setCursorPos(1,1)
  28. print("Radics Peti Mozi Security 1.5")
  29. print("UserName: not tankcsapda2")
  30. write("Password: ")
  31. pass()
  32. end
  33. end
  34. pass()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement