Link please familarize yourself a little bit more before using these features
I noticed several problems starting with the first line that you are trying to change StarterGui, if you want to affect the player's screen it must be in the PlayerGui (and a localscript), secondly you aren't referencing the table at all with "Random"...if you would like to understand tables more then you can read this
Random is just used to select a random number, getting the actual "random text message" is just using the table index based off the number Random provided
local mS = script.Parent.TextLabel
local textmS = {
"Hello",
"Hi",
"Nice to meet you",
"!!",
"Running out of things to say"
}
while true do
local random = Random.new():NextInteger(1, #textmS)
mS.Text = textmS[random]
wait(10)
end
1 comment
I do not believe '.Random()' is a function..