Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("back")
- mon.clear()
- width,height =mon.getSize()
- text = "Alex sucks donkey balls"
- colour = 1
- while true do
- for i=1,width*2 do
- if colour > 32768 then
- colour = 1
- else
- mon.clear()
- mon.setCursorPos(width-i,height/2)
- mon.setTextColour(colour)
- mon.write(text)
- sleep(.1)
- colour = colour + colour
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement