Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m = peripheral.wrap("top")
- while true do
- if rs.getInput("front") then
- m.setBackgroundColor(1)
- m.clear()
- sleep(0.5)
- m.setBackgroundColor(2)
- m.clear()
- sleep(0.5)
- m.setBackgroundColor(3)
- m.clear()
- sleep(0.5)
- m.setBackgroundColor(4)
- m.clear()
- sleep(0.5)
- m.setBackgroundColor(5)
- m.clear()
- sleep(0.5)
- m.setBackgroundColor(6)
- m.clear()
- sleep(0.5)
- m.setBackgroundColor(7)
- m.clear()
- sleep(0.5)
- m.setBackgroundColor(8)
- m.clear()
- sleep(0.5)
- m.setBackgroundColor(9)
- m.clear()
- sleep(0.5)
- m.setBackgroundColor(10)
- m.clear()
- sleep(0.5)
- m.setBackgroundColor(11)
- m.clear()
- sleep(0.5)
- m.setBackgroundColor(12)
- m.clear()
- sleep(0.5)
- m.setBackgroundColor(13)
- m.clear()
- sleep(0.5)
- m.setBackgroundColor(14)
- m.clear()
- sleep(0.5)
- m.setBackgroundColor(15)
- m.clear()
- sleep(0.5)
- m.setBackgroundColor(6)
- m.clear()
- sleep(0.5)
- else
- sleep(0.5)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement