Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- args = {...}
- Name = (args[1])
- local pos = 10
- mon = peripheral.wrap("right") -- Replace side with the side that the monitor is on
- mon.clear()
- color = 1
- mon.setBackgroundColor(16384)
- mon.setTextColor(32768) -- This makes the text black the full list is on the CC wiki
- mon.setTextScale(5) -- This is the largest text scale you can make
- while true do
- if pos==-26 then
- pos =18
- end
- mon.setCursorPos(pos,1)
- mon.write("MonkeyBusiness Is epic!")
- pos = pos-1
- os.sleep(0.15) -- Replace 0.15 with any number you want (In seconds)
- if (color < 16000) then
- color = color + color
- else
- color = 1
- end
- mon.setBackgroundColor(color)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement