Guest User

startup

a guest
Mar 23rd, 2014
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.46 KB | None | 0 0
  1. local pos = 14
  2.  
  3. mon=peripheral.wrap("top")
  4. mon.clear()
  5. color=1
  6. mon.setBackgroundColor(color)
  7. mon.setTextColor(colors.black)
  8. mon.setTextScale(5)
  9.  
  10. while true do
  11.   if pos==-16 then
  12.     pos=14
  13.   end
  14.  
  15.   mon.clear()
  16.   mon.setTextColor(color+500)
  17.   mon.setCursorPos(pos,1)
  18.   mon.write("THE SEXY SHOP")
  19.   pos=pos-1
  20.  
  21.   os.sleep(0.05)
  22.  
  23.   if (color<16000) then
  24.     color=color+color
  25.   else
  26.     color=1
  27.   end
  28.   mon.setBackgroundColor(color)
  29. end
Advertisement
Add Comment
Please, Sign In to add comment