Advertisement
Guest User

startup

a guest
Dec 20th, 2014
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | None | 0 0
  1. local pos = 18
  2. local text = "Cobblestone Generator"
  3.  
  4. mon = peripheral.wrap("right")
  5. mon.clear()
  6. mon.setBackgroundColor(32)
  7. mon.setTextColor(32768)
  8. mon.setTextScale(5)
  9.  
  10. while true do
  11.   if pos==-26 then
  12.    pos = 18
  13.   end
  14. mon.clear()
  15. mon.setCursorPos(pos, 1)
  16. mon.write(text)
  17. pos = pos - 1
  18.  
  19. os.sleep(0.15)
  20.  
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement