xXm0dzXx

Untitled

Jul 19th, 2012
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. test = write
  2.  
  3. function write( sText )
  4. local nLinesPrinted = 0
  5. for i=1,#sText do
  6. letter = string.sub(1, i)
  7. lol = math.random(1,9)
  8. if lol > 6 then
  9. letter2 = string.sub(i+1, #sText)
  10. tabs = ""
  11. for i=1,lol do
  12. tabs = tabs.. " "
  13. end
  14. sText = letter..""..tabs..""..letter2
  15. end
  16. end
  17.  
  18. test(sText)
  19. return nLinesPrinted
  20. end
  21.  
  22. print = write
Advertisement
Add Comment
Please, Sign In to add comment