Hey all!
I need help with making a pairs loop loop through something randomly.
For example,
local table = {"haha", "banana", "i forgor"}
for _, v in pairs(table) do
print(v)
end
It prints in the same order every time
haha
banana
i forgor
haha
banana
i forgor
How would I make it loop through the table randomly?
Thanks!