Advertisement
Xenogami

chaseing_lights

Jul 10th, 2013
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.97 KB | None | 0 0
  1. m=peripheral.wrap("back")
  2. m.clear()
  3. m.setTextScale(4.5)
  4. m.setCursorPos(1,1)
  5. m.write("Now Playing")
  6. m.setCursorPos(2,3)
  7. m.write("STARWARS")
  8.  
  9. while true do
  10. for a=1,11 do
  11. redstone.setBundledOutput("left", 0)
  12. if a==1 then
  13.     redstone.setBundledOutput("left", colors.magenta)
  14. end
  15. if a==2 then
  16.     redstone.setBundledOutput("left", colors.green)
  17. end
  18. if a==3 then
  19.     redstone.setBundledOutput("left", colors.brown)
  20. end
  21. if a==4 then
  22.     redstone.setBundledOutput("left", colors.purple)
  23. end
  24. if a==5 then
  25.     redstone.setBundledOutput("left", colors.cyan)
  26. end
  27. if a==6 then
  28.     redstone.setBundledOutput("left", colors.blue)
  29. end
  30. if a==7 then
  31.     redstone.setBundledOutput("left", colors.yellow)
  32. end
  33. if a==8 then
  34.     redstone.setBundledOutput("left", colors.lime)
  35. end
  36. if a==9 then
  37.     redstone.setBundledOutput("left", colors.pink)
  38. end
  39. if a==10 then
  40.     redstone.setBundledOutput("left", colors.gray)
  41. end
  42. if a==11 then
  43.     redstone.setBundledOutput("left", colors.red)
  44. end
  45. end
  46. os.sleep(.5)
  47. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement