guamie

jhbgvdfdsfdsf

May 16th, 2020
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. Text = {
  2. "Hello",
  3. "e",
  4. "l",
  5. "l",
  6. "o",
  7. }
  8. mon = peripheral.wrap("right")
  9. mon.clear()
  10. wScreen, hScreen = mon.getSize()
  11.  
  12. function Vertical()
  13.  for i = -#Text,hScreen do
  14.       for t = 1,#Text do
  15.         mon.setCursorPos(wScreen/2,i+t)
  16.         mon.write(Text[t])
  17.       end
  18.    mon.setCursorPos(wScreen/2,i)
  19.    sleep(.2)
  20.    mon.clear()
  21.   end
  22. end
  23.  
  24. while true do
  25.  Vertical()
  26. end
Add Comment
Please, Sign In to add comment