mah17

Untitled

Jan 16th, 2021 (edited)
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.54 KB | None | 0 0
  1. -- pastebin get  billboard
  2.  
  3. local COLORS_LIST = {
  4.     colors.white,
  5.     colors.orange,
  6.     colors.magenta,
  7.     colors.lightBlue,
  8.     colors.yellow,
  9.     colors.lime,
  10.     colors.pink,
  11.     colors.gray,
  12.     colors.lightGray,
  13.     colors.cyan,
  14.     colors.purple,
  15.     colors.blue,
  16.     colors.brown,
  17.     colors.green,
  18.     colors.red
  19. }
  20.  
  21. function drawLogo()
  22.     -- term.setCursorPos(1, 7)
  23.     for line in io.lines('art') do
  24.         sleep(0.2)
  25.         print(line)
  26.     end
  27. end
  28.  
  29. term.clear()
  30. while true do
  31.     for k,v in pairs(COLORS_LIST) do
  32.         term.setTextColor(v)
  33.         drawLogo()
  34.         sleep(8)
  35.     end
  36. end
Add Comment
Please, Sign In to add comment