Advertisement
djbigmac9

final_countdown - Game Show 5

Jul 28th, 2015
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Code by djbigmac9 and 007spy9
  2. --This game show will be streamed over at:
  3. --www.twitch.tv/kreeper_killerz
  4. --www.youtube.com/TheKreeperKillerz
  5.  
  6. mon1 = peripheral.wrap("monitor_0")
  7. mon2 = peripheral.wrap("monitor_3")
  8. mon3 = peripheral.wrap("monitor_4")
  9. mon4 = peripheral.wrap("monitor_7")
  10.  
  11.   mon1.setBackgroundColor(colors.blue)
  12.   mon2.setBackgroundColor(colors.blue)
  13.   mon3.setBackgroundColor(colors.blue)
  14.   mon4.setBackgroundColor(colors.blue)
  15.  
  16.   mon1.setTextColor(colors.yellow)
  17.   mon2.setTextColor(colors.yellow)
  18.   mon3.setTextColor(colors.yellow)
  19.   mon4.setTextColor(colors.yellow)
  20.  
  21.   mon1.setCursorPos(6,4.5)
  22.   mon2.setCursorPos(6,4.5)
  23.   mon3.setCursorPos(6,4.5)
  24.   mon4.setCursorPos(6,4.5)
  25.  
  26.   mon1.setTextScale(5)
  27.   mon2.setTextScale(5)
  28.   mon3.setTextScale(5)
  29.   mon4.setTextScale(5)
  30.  
  31. sleep(55)
  32.  
  33.   mon1.clear()
  34.   mon2.clear()
  35.   mon3.clear()
  36.   mon4.clear()
  37.  
  38.   mon1.write("5")
  39.   mon2.write("5")
  40.   mon3.write("5")
  41.   mon4.write("5")
  42.  
  43. sleep(1)
  44.  
  45.   mon1.clear()
  46.   mon2.clear()
  47.   mon3.clear()
  48.   mon4.clear()
  49.  
  50.   mon1.setCursorPos(6,4.5)
  51.   mon2.setCursorPos(6,4.5)
  52.   mon3.setCursorPos(6,4.5)
  53.   mon4.setCursorPos(6,4.5)
  54.  
  55.   mon1.write("4")
  56.   mon2.write("4")
  57.   mon3.write("4")
  58.   mon4.write("4")
  59.  
  60. sleep(1)
  61.  
  62.   mon1.clear()
  63.   mon2.clear()
  64.   mon3.clear()
  65.   mon4.clear()
  66.  
  67.   mon1.setCursorPos(6,4.5)
  68.   mon2.setCursorPos(6,4.5)
  69.   mon3.setCursorPos(6,4.5)
  70.   mon4.setCursorPos(6,4.5)
  71.  
  72.   mon1.write("3")
  73.   mon2.write("3")
  74.   mon3.write("3")
  75.   mon4.write("3")
  76.  
  77. sleep(1)
  78.  
  79.   mon1.clear()
  80.   mon2.clear()
  81.   mon3.clear()
  82.   mon4.clear()
  83.  
  84.   monitors[i].setCursorPos(6,4.5)
  85.  
  86.   mon1.write("2")
  87.   mon2.write("2")
  88.   mon3.write("2")
  89.   mon4.write("2")
  90.  
  91. sleep(1)
  92.  
  93.   mon1.clear()
  94.   mon2.clear()
  95.   mon3.clear()
  96.   mon4.clear()
  97.  
  98.   mon1.setCursorPos(6,4.5)
  99.   mon2.setCursorPos(6,4.5)
  100.   mon3.setCursorPos(6,4.5)
  101.   mon4.setCursorPos(6,4.5)
  102.  
  103.   mon1.write("1")
  104.   mon2.write("1")
  105.   mon3.write("1")
  106.   mon4.write("1")
  107.  
  108. sleep(1)
  109.  
  110.   mon1.clear()
  111.   mon2.clear()
  112.   mon3.clear()
  113.   mon4.clear()
  114.  
  115.   mon1.setCursorPos(6,4.5)
  116.   mon2.setCursorPos(6,4.5)
  117.   mon3.setCursorPos(6,4.5)
  118.   mon4.setCursorPos(6,4.5)
  119.  
  120.   mon1.write("FINISH")
  121.   mon2.write("FINISH")
  122.   mon3.write("FINISH")
  123.   mon4.write("FINISH")
  124.  
  125. rs.setOutput("right",true)
  126.  
  127. sleep(0.5)
  128.  
  129. rs.setOutput("right",false)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement