Advertisement
JKissa

Scrolling text

Jan 15th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. local pos = 18
  2.  
  3. mon = peripheral.wrap("back")
  4. mon.clear()
  5. mon.setTextColor(32)
  6. mon.setTextScale(5)
  7.  
  8. while true do
  9. if pos == -26 then
  10. pos = 18
  11. end
  12.  
  13. mon.clear()
  14. mon.setCursorPos(pos,1)
  15. mon.write("Testi xd mlg om 360 420")
  16. pos = pos-1
  17.  
  18. os.sleep(0,15)
  19.  
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement