Advertisement
Guest User

Untitled

a guest
May 20th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 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. function Vertical()
  17. for i = -#Text,hScreen do
  18. for t = 1,#Text do
  19. mon.setCursorPos(wScreen/2,i+t)
  20. mon.write(Text[t])
  21. end
  22. mon.setCursorPos(wScreen/2,i)
  23. sleep(.2)
  24. mon.clear()
  25. end
  26. end
  27.  
  28. while true do
  29. Vertical()
  30. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement