Advertisement
djbigmac9

1min - Game Show 4

Jul 28th, 2015
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.75 KB | None | 0 0
  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. monitors = {
  7.   peripheral.wrap("monitor_0");
  8.   peripheral.wrap("monitor_1");
  9.   peripheral.wrap("monitor_2");
  10.   peripheral.wrap("monitor_3");
  11.   peripheral.wrap("monitor_4");
  12.   peripheral.wrap("monitor_5");
  13.   peripheral.wrap("monitor_6");
  14.   peripheral.wrap("monitor_7");
  15. }
  16.  
  17. function allMonitors()
  18.     for i=1,#monitors do
  19.   monitors[i].setBackgroundColor(colors.blue)
  20.   monitors[i].setTextColor(colors.yellow)
  21.   monitors[i].setCursorPos(6,4.5)
  22.   monitors[i].setTextScale(5)
  23.      sleep(240)
  24.   monitors[i].clear()
  25.   monitors[i].write("1 Minute Remaining")
  26.     end
  27. end
  28. allMonitors()
  29. shell.run("final_countdown")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement