I want to create a simple text addition generator. I don't want the Text input to clear and restart with a fresh item. I just want it to constantly add more items in a random way. I don't want print statements like shown in this example. It will randomly pick between either a Phoenym or Alphabet.
Bonus if you want to help with something extra; I would like it to be able to pick Phoenyms in a row. Obviously not always as the case though. However not be able to generate Alphabet in a row. While always allowing the ability to mix both. That's a major part of this project that I am making. Therefore it would be great if someone would help. If not then it's alright. I just won't ever be able to complete the project then on my own. I honestly don't know any programming languages or how to script Lua. Which is why it lacks the majority of code to make this work right.
The intended usage of the script is to generate possibly words at random. Without having a data bank for already having them. This would make it unique and strange if it ever landed on something. That is pretty much what I am going for with this idea.
local table Phoenym = {"aeh","ahh","air",
"al","an","awe","buh","ch","cuh","duh",
"ear","eh","er","ff","guh","huh","ii",
"iihh","ill","in","ing","ink","juh","luh",
"mm","nuh","ol","om","onh","oo","or","qwa",
"ruh","ss","st","th","tt","uh","ul","um",
"un","vv"},"wuh","ya","zz"}
local table Alphabet = {"a","b","c",
"d","e","f","g","h","i","j","k","l",
"m","n","o","p","q","r","s","t","u",
"v","w","x","y","z"}
-- Items table.
while true do
local value1 = math.random(1,#Phoenym)
local value2 = math.random(1,#Alphabet) -- Get random number with 1 to length of table.
local picked_value1 = Phoenym[value1] -- Pick value from table
local picked_value2 = Alphabet[value2]
print(tostring(picked_value1))
print(tostring(picked_value2)) -- Print picked value
wait(1)
end

2 comments
Just do: TextBox.Text = TextBox.Text .. picked_value1 .. picked_value 2
https://idownvotedbecau.se/toomuchinfo/ (or atleast i wanted to)