Advertisement
Mouamle

Untitled

Mar 16th, 2015
483
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.79 KB | None | 0 0
  1.    sSide = "front"
  2.    redstone.setBundledOutput(sSide, colors.black) -- enable one color (black) and disable all others
  3.    sleep(2) -- chill out for two seconds
  4.    redstone.setBundledOutput(sSide, colors.white) -- enable white and disable all others
  5.    sleep(2)
  6.    redstone.setBundledOutput(sSide,colors.combine(redstone.getBundledOutput(sSide),colors.brown))
  7.    -- ^ combine last input with new input, in this case white is mixed with brown, making those two colors enabled.
  8.    sleep(2)
  9.    redstone.setBundledOutput(sSide, 0)  -- disable all output
  10.    sleep(2)
  11.    redstone.setBundledOutput(sSide, colors.combine(colors.white,colors.black)) -- enable both black and white wires.
  12.    sleep(2)
  13.    redstone.setBundledOutput(sSide,colors.subtract(redstone.getBundledOutput(sSide), colors.black))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement