Advertisement
Der_TJ

BlackTec Script Raum 9

Sep 29th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.96 KB | None | 0 0
  1. --Geschrieben von Der_TJ / Der_TJ1997 / Toben Heinze
  2. --geschrieben fuer BlackTec
  3.  
  4. -- Das folgende aktiviren zum schutz. (anti Terminate)
  5. -- os.pullEvent = os.pullEventRaw
  6.  
  7. shell.run("pastebin run MMd4F8Kw")
  8.  
  9. term.clear()
  10. term.setCursorPos(1,1)
  11.  
  12. local R1 = "Das ist Richtig! Gratulation!"
  13. local R2 = "Achtung du wirst gleich Teleportiert."
  14. local F1 = "Das ist leider Falsche."
  15. local F2 = "Versuche es doch gleich noch einmal"
  16.  
  17. -- Text
  18. textutils.slowPrint("Wen du in das End willst",25)
  19. textutils.slowPrint("brauchst du alles um den",25)
  20. textutils.slowPrint("Ender Drachen wider zu beleben.",25)
  21. --textutils.slowPrint(" ",25)
  22. print(" ")
  23. -- Frage
  24. textutils.slowPrint("Du hast das ritual im end aufgebaut.",25)
  25. textutils.slowPrint("Wo must du klicken um es zu starten?",25)
  26. --textutils.slowPrint(" ",25)
  27. --textutils.slowPrint(" ",25)
  28. print(" ")
  29. textutils.slowPrint("In die ______ .",25)
  30. print(" ")
  31. Password = read()
  32.  
  33. print(" ")
  34.  
  35. -- hebelt Gross-/Kleinschreibung aus.
  36. Password = Password:lower()
  37.  
  38. --Richtige Antworter
  39.  
  40. if Password == ("mitte") then
  41.  term.clear()
  42.  term.setCursorPos(1,1)
  43.  term.setTextColor( colors.green )
  44.  textutils.slowPrint(R1,25)
  45.  term.setTextColor( colors.red )
  46.  textutils.slowPrint(R2,25)
  47.  rs.setOutput("left", true)
  48.  sleep(3)
  49.  rs.setBundledOutput("bottom", colors.red, true)
  50.  sleep(0.5)
  51.  os.reboot()
  52. else
  53.  
  54. --if Password == (" ") then
  55. -- term.clear()
  56. -- term.setCursorPos(1,1)
  57. -- term.setTextColor( colors.green )
  58. -- textutils.slowPrint(R1,25)
  59. -- term.setTextColor( colors.red )
  60. -- textutils.slowPrint(R2,25)
  61. -- rs.setOutput("left", true)
  62. -- sleep(3)
  63. -- rs.setBundledOutput("bottom", colors.red, true)
  64. -- sleep(0.5)
  65. -- os.reboot()
  66. --else
  67.  
  68. --if Password == (" ") then
  69. -- term.clear()
  70. -- term.setCursorPos(1,1)
  71. -- term.setTextColor( colors.green )
  72. -- textutils.slowPrint(R1,25)
  73. -- term.setTextColor( colors.red )
  74. -- textutils.slowPrint(R2,25)
  75. -- rs.setOutput("left", true)
  76. -- sleep(3)
  77. -- rs.setBundledOutput("bottom", colors.red, true)
  78. -- sleep(0.5)
  79. -- os.reboot()
  80. --else
  81.  
  82. --if Password == (" ") then
  83. -- term.clear()
  84. -- term.setCursorPos(1,1)
  85. -- term.setTextColor( colors.green )
  86. -- textutils.slowPrint(R1,25)
  87. -- term.setTextColor( colors.red )
  88. -- textutils.slowPrint(R2,25)
  89. -- rs.setOutput("left", true)
  90. -- sleep(3)
  91. -- rs.setBundledOutput("bottom", colors.red, true)
  92. -- sleep(0.5)
  93. -- os.reboot()
  94. --else
  95.  
  96. --if Password == (" ") then
  97. -- term.clear()
  98. -- term.setCursorPos(1,1)
  99. -- term.setTextColor( colors.green )
  100. -- textutils.slowPrint(R1,25)
  101. -- term.setTextColor( colors.red )
  102. -- textutils.slowPrint(R2,25)
  103. -- rs.setOutput("left", true)
  104. -- sleep(3)
  105. -- rs.setBundledOutput("bottom", colors.red, true)
  106. -- sleep(0.5)
  107. -- os.reboot()
  108. --else
  109.  
  110.  
  111.  
  112.  
  113. --Falche Antwort
  114.  term.clear()
  115.  term.setCursorPos(1,1)
  116.  term.setTextColor( colors.red )
  117.  textutils.slowPrint(F1,25)
  118.  textutils.slowPrint(F2,25)
  119.  redstone.setOutput("right", true)
  120.  sleep(3)
  121.  os.reboot()
  122.  
  123. --Jeden Antwort muss beendet werden mit end
  124. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement