Advertisement
BobMe

random name generator thing

Sep 13th, 2019
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. -- A random name generater for undercover peoples
  2.  
  3. function random_name(seed)
  4. local underscore = 0
  5. local number = 0
  6. local hasnumber = 0
  7. local chosen_one = 0
  8. local chosen_two = 0
  9. local finish = ""
  10. one = {
  11. "minecraft","fluid","bannana","bacon","breakfast","dog","doggy","doggie","cat","kitten","kitty","kittie","snake","frog","toad","snow",
  12. "cold","winter","summer","fall","autumn","roblox","super","superduper","superduperpooper","amazing","wonderful","ooper","lol","lmao",
  13. "hacker","report","trumpet","drummer","sports","football","soccer","basketball","baby"
  14. }
  15. two = {
  16. "person","boy","girl","man","woman","hair","eater","pet","petter","arecool","iscool","aregood","isgood","kek","scooper","player","gamer",
  17. "athlete","mom","dad","mommy","doctor","hospital","vegan","vegetarian","cereal","tiger","lion","sksksk","","fricker","hecker","heccer",
  18. "friccer","father","mother","brother","bro","sister","sis","sitter","pro","professional"
  19. }
  20.  
  21. -- randomisers
  22. for i=1,seed do
  23. underscore = math.random(0,1)
  24. hasnumber = math.random(0,3)
  25. number = math.random(1,9999)
  26. chosen_one = math.random(1,#one)
  27. chosen_two = math.random(1,#two)
  28. end
  29. if underscore == 1 then
  30. finish = one[chosen_one].."_"..two[chosen_two]
  31. else
  32. finish = one[chosen_one]..two[chosen_two]
  33. end
  34. if hasnumber == 3 then
  35.  
  36. else
  37. finish = finish..number
  38. end
  39. return finish
  40. end
  41.  
  42. for i=1,2000 do
  43. print(i.." | "..random_name(i))
  44. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement