Guest User

Untitled

a guest
Jan 29th, 2020
65
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. term.clear()
  2. term.setCursorPos(1,1)os.pullEvent = os.pullEventRaw
  3.  
  4. password = "111"
  5. masterpassword = "1111"
  6.  
  7. print("Welcome to PlebCorp - founded by Euan!")
  8. sleep(1)
  9. print("Iniating Security Check Sequence...")
  10. sleep(1)
  11. write "Please Enter Password: "
  12. local input = read("*")
  13.  
  14. if input == (password) then
  15. print("Password Accepted - Access Granted")
  16. print("Welcome to PlebCorp!")
  17. redstone.setOutput("back", true)
  18. sleep(5)
  19. os.shutdown()
  20.  
  21. elseif input == (masterpassword) then
  22. print("Welcome, Euan. Your terminal is unlocked using your masterpassword.")
  23. sleep(2)
  24. print("Please save after making your changes.")
  25.  
  26. else
  27. print("Password Incorrect - Rebooting Now.")
  28. sleep(2)
  29. os.shutdown()
  30.  
  31. end
RAW Paste Data