i want to have hints on a board in my game, that will randomly switch between them, i've tried to use this scripts
local listOfPhrases = {"Example", "Whatever you want", "Hello, world!", "LOL!"}
local interval = 3
while wait() do
for k,v in pairs(listOfPhrases) do
script.Parent.Name = Hints
wait(interval)
end
end

4 comments
"Hints" was the text label name that i had
also, how could i make it random
First of all you should accept this if it's correct
Index the table with math.random()