Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local colorTable = {
- colors.white;
- colors.lightGray;
- colors.gray;
- colors.black;
- colors.yellow;
- colors.orange;
- colors.red;
- colors.magenta;
- colors.purple;
- colors.lime;
- colors.green;
- colors.cyan;
- colors.lightBlue;
- colors.blue;
- colors.brown;
- }
- local attachedMonitor = peripheral.wrap("left")
- for index,color in ipairs(colorTable) do
- attachedMonitor.setBackgroundColor(color)
- attachedMonitor.clear()
- sleep(1)
- end
- attachedMonitor.setBackgroundColor(colors.black)
Add Comment
Please, Sign In to add comment