SHARE
TWEET

Untitled

a guest Sep 20th, 2019 91 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 = "haiichbins"
  5. masterpassword = "139753"
  6.  
  7. print("  |--------------DOOR LOCK SYSTEM---------------| ")
  8. print("  |╔═╗┌┐┌┌┬┐┌─┐┬─┐┬┬ ┬┌┬┐| ")
  9. print("  |║╣ │││ ││├┤ ├┬┘││ ││││| ")
  10. print("  |╚═╝┘└┘─┴┘└─┘┴└─┴└─┘┴ ┴| ")
  11. print("")
  12. print("")
  13. print("")
  14. print("")
  15. print("")
  16.  
  17.  
  18. write "Bitte Passwort eingeben: "
  19. local input = read("*")
  20.  
  21. if input == (password) then
  22. print("Password Akzeptiert - Access Granted")
  23. redstone.setOutput("back", true)
  24. sleep(5)
  25. os.shutdown()
  26.  
  27. elseif input == (masterpassword) then
  28. print("Wilkommen in der Colsole. \n Das Terminal ist jetzt freigeschaltet")
  29. sleep(2)
  30. print("Bitte speichere alles vor dem verlassen.")
  31.  
  32. else
  33. print("Passwort Falsch - Neustart....")
  34. sleep(1)
  35. os.shutdown()
  36.  
  37. 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