For example, instead of having lets say 1,5 it would be: hello,(or) goodbye
Okay so im trying to make this script print out words just like math.random prints out numbers, I know how to do math rand b ut not with words
Here is my math.random
while true do
wait(0.8)
local variable1 = math.random(1,4)
local variable2 = math.random(5,10)
print(variable1, variable2)
end
Any help appreciated

4 comments
You mean math.random(1,#wordlist) . You forgot the start number.
Nope! You don't need to put the start number.
When you call math.random() with one parameter, it will immediately get a number within that range.
??? if you call math.random() with 1 arg, then it will return a number in the range of [1,arg] see https://developer.roblox.com/en-us/api-reference/lua-docs/math