I want the GUI to change words but it just stays the same. How do I make it work?
while wait(1) do
if game.Players.NumPlayers > 1 and (not GameRunning) then
GameRunning = true
game.StarterGui.MorePlayers.Frame.TextLabel.Text = "5 Players Needed To Start The Trial"
wait(2)
game.StarterGui.MorePlayers.Frame.TextLabel.Text = "Trials Will Begin In 10 Seconds"
game.Workspace.Beep.Sound:Play()
wait(1)
end
Don't bother about the other stuff I just need to know how to make the text for the GUI change.

2 comments
Are you testing this with 2+ players? If you want it to work with 1 or more, replace "if game.Players.NumPlayers > 1" with "if game.Players.NumPlayers >= 1".
I said not to worry about anything else