Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- signal = 0
- rainbowColours = {
- 15,
- 7,
- 10,
- 11,
- 9,
- 3,
- 5,
- 4,
- 14,
- }
- while true do
- for i = 1, #rainbowColours do
- signal = rainbowColours[i]
- print(signal)
- sleep(1)
- rs.setAnalogOutput("left", signal)
- rs.setAnalogOutput("back", signal)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment