Advertisement
Guest User

Untitled

a guest
May 20th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. mon = peripheral.wrap("right")
  2. mon.clear()
  3. mon.setTextScale(5)
  4. wScreen, hScreen = mon.getSize()
  5.  
  6. text = {
  7. "A",
  8. "Y",
  9. "R",
  10. "O",
  11. "B",
  12. "O",
  13. "T"
  14. }
  15.  
  16. while true do
  17. p.clear()
  18. for k,v in ipairs(text) do
  19. p.setCursorPos(wScreen,k+v)
  20. p.write(v)
  21. os.sleep(0.5)
  22. p.scroll(1)
  23. end
  24. os.sleep(0.5)
  25. for i=1,7 do
  26. p.scroll(1)
  27. os.sleep(0.5)
  28. end
  29. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement