Advertisement
Guest User

scrolling

a guest
Nov 23rd, 2014
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. local pos = 18
  2.  
  3. mon = peripheral.wrap("back")
  4. mon.clear()
  5. mon.setTextScale(5)
  6.  
  7. while true do
  8.  
  9.  if pos==-20 then
  10.   pos = 18
  11.  end
  12.  
  13.  mon.clear()
  14.  mon.setCursorPos(pos,1)
  15.  mon.write("The Zygro Shop")
  16.  pos = pos-1
  17.  
  18.  os.sleep(0.15)
  19.  
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement