LDDestroier

Octadecical Image Format (not even close to being workable)

Jan 14th, 2018
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. --time to redo
  2.  
  3. local counter = 0
  4.  
  5. --[[
  6. output = {
  7.     "Woah!", --characters
  8.     "fffff", --text color
  9.     "00000"  --bg color
  10. }
  11. --]]
  12.  
  13. local proceed = function(str, amnt)
  14.     local output = {}
  15.     for a = 1, (amnt or 1) do
  16.         counter = counter + 1
  17.         output[#output+1] = str:sub(counter,counter)
  18.     end
  19.     return table.unpack(output)
  20. end
Add Comment
Please, Sign In to add comment