Hydroxios

screen_scroll

Mar 21st, 2017
97
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local pos = 18
  2. local text = "HxIndustries"
  3. m = peripheral.wrap("left")
  4. m.clear()
  5. m.setTextScale(5)
  6.  
  7.  
  8. while true do
  9.  
  10. if pos == -26 then
  11. pos = 18
  12. end
  13.  
  14. m.clear()
  15. m.setCrusorPos(pos, 1)
  16. m.write(text)
  17. pos = pos -1
  18.  
  19. os.sleep(0.5)
  20.  
  21. end
RAW Paste Data