Advertisement
TyMan

Monkey

Aug 22nd, 2014
9
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. args = {...}
  2. Name = (args[1])
  3. local pos = 10
  4. mon = peripheral.wrap("right") -- Replace side with the side that the monitor is on
  5. mon.clear()
  6. color = 1
  7. mon.setBackgroundColor(16384)
  8. mon.setTextColor(32768) -- This makes the text black the full list is on the CC wiki
  9. mon.setTextScale(5) -- This is the largest text scale you can make
  10. while true do
  11.  
  12.   if pos==-26 then
  13.    pos =18
  14.    end
  15.    
  16.    mon.setCursorPos(pos,1)
  17.    mon.write("MonkeyBusiness Is epic!")
  18.     pos = pos-1
  19.  os.sleep(0.15) -- Replace 0.15 with any number you want (In seconds)
  20.  if (color < 16000) then
  21.   color = color + color
  22.  else
  23.   color = 1
  24.  end
  25.  mon.setBackgroundColor(color)
  26. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement