ravneravn

lights

May 20th, 2013
57
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. colorMix = {colors.white, colors.orange, colors.magenta, colors.lime, colors.yellow, colors.lightBlue}
  2. c = 0
  3. side = "back"
  4.  
  5. local function addcol(col)
  6. c = colors.combine(col, c)
  7. rs.setBundledOutput("back", c)
  8. end
  9.  
  10. local function remcol(col)
  11. c = colors.subtract(col, c)
  12. rs.setBundledOutput("back", c)
  13. end
  14.  
  15.  
  16. while true do
  17. rs.setBundledOutput("back", 0)
  18. for i = 1,6 do
  19. addcol(colorMix[i])
  20. sleep(1)
  21. end
  22.  
  23. end
RAW Paste Data