Advertisement
Guest User

startup

a guest
Nov 29th, 2015
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.42 KB | None | 0 0
  1. --###############
  2. --####Made by####
  3. --###Andre2511###
  4. --###############
  5.  
  6. os.pullEvent = os.pullEventRaw
  7.  
  8. shell.run("clear")
  9. term.setCursorPos(15,7)
  10. print("Willkommen bei der Bank.")
  11. print("")
  12.  
  13. UAdmin = "Admin"
  14. user1 = ""
  15. user2 = "_Xeiron"
  16. user3 = "nils1988sp"
  17. user4 = "MiracleMaster"
  18. user5 = "AnnaMariaJoo"
  19. user6 = "LuJean_Nick"
  20. user7 = "AlexZockt_"
  21. user8 = "Crytek998"
  22. user9 = "Rippchen89"
  23. user10 = "moffi"
  24. user11 = "serberer"
  25. user12 = "DJ__Daniel"
  26. user13 = "ShootiHD"
  27. user14 = "Eugen1342"
  28. user15 = "CryOPS"
  29.  
  30. PAdmin = "664422KIm"
  31. pass1 = ""
  32. pass2 = "4150"
  33. pass3 = "0670230"
  34. pass4 = "Delta222"
  35. pass5 = "Anna1101"
  36. pass6 = "Schreiner28"
  37. pass7 = "793870012"
  38. pass8 = "florian123"
  39. pass9 = "Rippe"
  40. pass10 = "15042015"
  41. pass11 = "nahpets"
  42. pass12 = "Zorro"
  43. pass13 = "BieneXD"
  44. pass14 = "lukas123"
  45. pass15 = "franz123"
  46.  
  47. term.setCursorPos(22,9)
  48. print("LOGIN")
  49. term.setCursorPos(15,11)
  50. write("Username: ")
  51. user = read()
  52. term.setCursorPos(15,12)
  53. write("Password: ")
  54. pass = read("*")
  55. term.setCursorPos(15,16)
  56. textutils.slowPrint("Lade Daten . . . ")
  57. sleep(2)
  58.  
  59.  
  60.  
  61. if (user == UAdmin) then
  62.   if (pass == PAdmin) then
  63.     shell.run("clear")
  64.     term.setCursorPos(15,10)
  65.     print("Hallo Chef^^")
  66.     return
  67.   else
  68.     shell.run("clear")
  69.     term.setCursorPos(15,10)
  70.     print("Falsch!")
  71.     sleep(3)
  72.     shell.run("startup")
  73.   end
  74. else
  75.   sleep(1)
  76. end
  77.  
  78.  
  79.  
  80. if (user == user1) then
  81.   if (pass == pass1) then
  82.     shell.run("clear")
  83.     term.setCursorPos(19.5,10)
  84.     print("Hallo "..user)
  85.     sleep(1)
  86.     term.setCursorPos(11.5,11)
  87.     print("Konto schliesst in 30 Sekunden")
  88.     redstone.setBundledOutput("back", colors.white)
  89.     sleep(30)
  90.     redstone.setBundledOutput("back", 0)
  91.     shell.run("startup")
  92.   else
  93.     shell.run("clear")
  94.     term.setCursorPos(15,10)
  95.     print("Falsch!")
  96.     sleep(3)
  97.     shell.run("startup")
  98.   end
  99. else
  100.   sleep(1)
  101. end
  102.  
  103.  
  104. if (user == user2) then
  105.   if (pass == pass2) then
  106.     shell.run("clear")
  107.     term.setCursorPos(19.5,10)
  108.     print("Hallo "..user)
  109.     sleep(1)
  110.     term.setCursorPos(11.5,11)
  111.     print("Konto schliesst in 30 Sekunden")
  112.     redstone.setBundledOutput("back", colors.orange)
  113.     sleep(30)
  114.     redstone.setBundledOutput("back", 0)
  115.     shell.run("startup")
  116.   else
  117.     shell.run("clear")
  118.     term.setCursorPos(15,10)
  119.     print("Falsch!")
  120.     sleep(3)
  121.     shell.run("startup")
  122.   end
  123. else
  124.   sleep(1)
  125. end
  126.  
  127.  
  128. if (user == user3) then
  129.   if (pass == pass3) then
  130.     shell.run("clear")
  131.     term.setCursorPos(19.5,10)
  132.     print("Hallo "..user)
  133.     sleep(1)
  134.     term.setCursorPos(11.5,11)
  135.     print("Konto schliesst in 30 Sekunden")
  136.     redstone.setBundledOutput("back", colors.magenta)
  137.     sleep(30)
  138.     redstone.setBundledOutput("back", 0)
  139.     shell.run("startup")
  140.   else
  141.     shell.run("clear")
  142.     term.setCursorPos(15,10)
  143.     print("Falsch!")
  144.     sleep(3)
  145.     shell.run("startup")
  146.   end
  147. else
  148.   sleep(1)
  149. end
  150.  
  151.  
  152. if (user == user4) then
  153.   if (pass == pass4) then
  154.     shell.run("clear")
  155.     term.setCursorPos(19.5,10)
  156.     print("Hallo "..user)
  157.     sleep(1)
  158.     term.setCursorPos(11.5,11)
  159.     print("Konto schliesst in 30 Sekunden")
  160.     redstone.setBundledOutput("back", colors.lightBlue)
  161.     sleep(30)
  162.     redstone.setBundledOutput("back", 0)
  163.     shell.run("startup")
  164.   else
  165.     shell.run("clear")
  166.     term.setCursorPos(15,10)
  167.     print("Falsch!")
  168.     sleep(3)
  169.     shell.run("startup")
  170.   end
  171. else
  172.   sleep(1)
  173. end
  174.  
  175.  
  176. if (user == user5) then
  177.   if (pass == pass5) then
  178.     shell.run("clear")
  179.     term.setCursorPos(19.5,10)
  180.     print("Hallo "..user)
  181.     sleep(1)
  182.     term.setCursorPos(11.5,11)
  183.     print("Konto schliesst in 30 Sekunden")
  184.     redstone.setBundledOutput("back", colors.yellow)
  185.     sleep(30)
  186.     redstone.setBundledOutput("back", 0)
  187.     shell.run("startup")
  188.   else
  189.     shell.run("clear")
  190.     term.setCursorPos(15,10)
  191.     print("Falsch!")
  192.     sleep(3)
  193.     shell.run("startup")
  194.   end
  195. else
  196.   sleep(1)
  197. end
  198.  
  199.  
  200. if (user == user6) then
  201.   if (pass == pass6) then
  202.     shell.run("clear")
  203.     term.setCursorPos(19.5,10)
  204.     print("Hallo "..user)
  205.     sleep(1)
  206.     term.setCursorPos(11.5,11)
  207.     print("Konto schliesst in 30 Sekunden")
  208.     redstone.setBundledOutput("back", colors.lime)
  209.     sleep(30)
  210.     redstone.setBundledOutput("back", 0)
  211.     shell.run("startup")
  212.   else
  213.     shell.run("clear")
  214.     term.setCursorPos(15,10)
  215.     print("Falsch!")
  216.     sleep(3)
  217.     shell.run("startup")
  218.   end
  219. else
  220.   sleep(1)
  221. end
  222.  
  223.  
  224. if (user == user7) then
  225.   if (pass == pass7) then
  226.     shell.run("clear")
  227.     term.setCursorPos(19.5,10)
  228.     print("Hallo "..user)
  229.     sleep(1)
  230.     term.setCursorPos(11.5,11)
  231.     print("Konto schliesst in 30 Sekunden")
  232.     redstone.setBundledOutput("back", colors.pink)
  233.     sleep(30)
  234.     redstone.setBundledOutput("back", 0)
  235.     shell.run("startup")
  236.   else
  237.     shell.run("clear")
  238.     term.setCursorPos(15,10)
  239.     print("Falsch!")
  240.     sleep(3)
  241.     shell.run("startup")
  242.   end
  243. else
  244.   sleep(1)
  245. end
  246.  
  247.  
  248. if (user == user8) then
  249.   if (pass == pass8) then
  250.     shell.run("clear")
  251.     term.setCursorPos(19.5,10)
  252.     print("Hallo "..user)
  253.     sleep(1)
  254.     term.setCursorPos(11.5,11)
  255.     print("Konto schliesst in 30 Sekunden")
  256.     redstone.setBundledOutput("back", colors.gray)
  257.     sleep(30)
  258.     redstone.setBundledOutput("back", 0)
  259.     shell.run("startup")
  260.   else
  261.     shell.run("clear")
  262.     term.setCursorPos(15,10)
  263.     print("Falsch!")
  264.     sleep(3)
  265.     shell.run("startup")
  266.   end
  267. else
  268.   sleep(1)
  269. end
  270.  
  271.  
  272. if (user == user9) then
  273.   if (pass == pass9) then
  274.     shell.run("clear")
  275.     term.setCursorPos(19.5,10)
  276.     print("Hallo "..user)
  277.     sleep(1)
  278.     term.setCursorPos(11.5,11)
  279.     print("Konto schliesst in 30 Sekunden")
  280.     redstone.setBundledOutput("back", colors.lightGray)
  281.     sleep(30)
  282.     redstone.setBundledOutput("back", 0)
  283.     shell.run("startup")
  284.   else
  285.     shell.run("clear")
  286.     term.setCursorPos(15,10)
  287.     print("Falsch!")
  288.     sleep(3)
  289.     shell.run("startup")
  290.   end
  291. else
  292.   sleep(1)
  293. end
  294.  
  295.  
  296. if (user == user10) then
  297.   if (pass == pass10) then
  298.     shell.run("clear")
  299.     term.setCursorPos(19.5,10)
  300.     print("Hallo "..user)
  301.     sleep(1)
  302.     term.setCursorPos(11.5,11)
  303.     print("Konto schliesst in 30 Sekunden")
  304.     redstone.setBundledOutput("back", colors.cyan)
  305.     sleep(30)
  306.     redstone.setBundledOutput("back", 0)
  307.     shell.run("startup")
  308.   else
  309.     shell.run("clear")
  310.     term.setCursorPos(15,10)
  311.     print("Falsch!")
  312.     sleep(3)
  313.     shell.run("startup")
  314.   end
  315. else
  316.   sleep(1)
  317. end
  318.  
  319.  
  320. SUAdmin = "Neo911"
  321. SPAdmin = "987654321"
  322. if (user == SUAdmin) then
  323.   if (pass == SPAdmin) then
  324.     shell.run("clear")
  325.     term.setCursorPos(15,10)
  326.     print("Hallo Neo, du Hacker <3 (writen by andre2511)")
  327.     return
  328.   else
  329.     shell.run("clear")
  330.     term.setCursorPos(15,10)
  331.     print("Falsch!")
  332.     sleep(3)
  333.     shell.run("startup")
  334.   end
  335. else
  336.   sleep(1)
  337. end
  338.  
  339.  
  340.  
  341. if (user == user11) then
  342.   if (pass == pass11) then
  343.     shell.run("clear")
  344.     term.setCursorPos(19.5,10)
  345.     print("Hallo "..user)
  346.     sleep(1)
  347.     term.setCursorPos(11.5,11)
  348.     print("Konto schliesst in 30 Sekunden")
  349.     redstone.setBundledOutput("back", colors.purple)
  350.     sleep(30)
  351.     redstone.setBundledOutput("back", 0)
  352.     shell.run("startup")
  353.   else
  354.     shell.run("clear")
  355.     term.setCursorPos(15,10)
  356.     print("Falsch!")
  357.     sleep(3)
  358.     shell.run("startup")
  359.   end
  360. else
  361.   sleep(1)
  362. end
  363.  
  364.  
  365. if (user == user12) then
  366.   if (pass == pass12) then
  367.     shell.run("clear")
  368.     term.setCursorPos(19.5,10)
  369.     print("Hallo "..user)
  370.     sleep(1)
  371.     term.setCursorPos(11.5,11)
  372.     print("Konto schliesst in 30 Sekunden")
  373.     redstone.setBundledOutput("back", colors.blue)
  374.     sleep(30)
  375.     redstone.setBundledOutput("back", 0)
  376.     shell.run("startup")
  377.   else
  378.     shell.run("clear")
  379.     term.setCursorPos(15,10)
  380.     print("Falsch!")
  381.     sleep(3)
  382.     shell.run("startup")
  383.   end
  384. else
  385.   sleep(1)
  386. end
  387.  
  388.  
  389. if (user == user13) then
  390.   if (pass == pass13) then
  391.     shell.run("clear")
  392.     term.setCursorPos(19.5,10)
  393.     print("Hallo "..user)
  394.     sleep(1)
  395.     term.setCursorPos(11.5,11)
  396.     print("Konto schliesst in 30 Sekunden")
  397.     redstone.setBundledOutput("back", colors.brown)
  398.     sleep(30)
  399.     redstone.setBundledOutput("back", 0)
  400.     shell.run("startup")
  401.   else
  402.     shell.run("clear")
  403.     term.setCursorPos(15,10)
  404.     print("Falsch!")
  405.     sleep(3)
  406.     shell.run("startup")
  407.   end
  408. else
  409.   sleep(1)
  410. end
  411.  
  412.  
  413. if (user == user14) then
  414.   if (pass == pass14) then
  415.     shell.run("clear")
  416.     term.setCursorPos(19.5,10)
  417.     print("Hallo "..user)
  418.     sleep(1)
  419.     term.setCursorPos(11.5,11)
  420.     print("Konto schliesst in 30 Sekunden")
  421.     redstone.setBundledOutput("back", colors.green)
  422.     sleep(30)
  423.     redstone.setBundledOutput("back", 0)
  424.     shell.run("startup")
  425.   else
  426.     shell.run("clear")
  427.     term.setCursorPos(15,10)
  428.     print("Falsch!")
  429.     sleep(3)
  430.     shell.run("startup")
  431.   end
  432. else
  433.   sleep(1)
  434. end
  435.  
  436.  
  437. if (user == user15) then
  438.   if (pass == pass15) then
  439.     shell.run("clear")
  440.     term.setCursorPos(19.5,10)
  441.     print("Hallo "..user)
  442.     sleep(1)
  443.     term.setCursorPos(11.5,11)
  444.     print("Konto schliesst in 30 Sekunden")
  445.     redstone.setBundledOutput("back", colors.red)
  446.     sleep(30)
  447.     redstone.setBundledOutput("back", 0)
  448.     shell.run("startup")
  449.   else
  450.     shell.run("clear")
  451.     term.setCursorPos(15,10)
  452.     print("Falsch!")
  453.     sleep(3)
  454.     shell.run("startup")
  455.   end
  456. else
  457.   sleep(1)
  458.   shell.run("startup")
  459. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement