Advertisement
Guest User

Banner

a guest
Feb 13th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.53 KB | None | 0 0
  1. -- Settings --
  2. mon = peripheral.wrap("bottom")
  3. mon.setTextScale(1)
  4. startpos = 40
  5. speed = 0.2
  6. text = "Welcome To Deep Dark Base Alpha"
  7.  
  8. pos = startpos
  9. poslimit = 0 - startpos
  10.  
  11. -- Program --
  12. while true do
  13.   mon.clear()
  14.   mon.setCursorPos(10,5)
  15.   mon.setTextColor(colors.lime)
  16.   mon.write("Sponsored by GavCorp")
  17.   mon.setTextColor(colors.white)
  18.   mon.setCursorPos(pos,3)
  19.   mon.write(text)
  20.   sleep(speed)
  21.     if pos == poslimit then
  22.       pos = startpos
  23.       sleep(1)
  24.     else
  25.       pos = pos - 1
  26.     end
  27.    
  28. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement