So Im making a mini game and when I tell the GUI to change it wont.. every time you die it dose but I want the gui to change smoothly.. help please.
minigames = game.Lighting.Minigames:GetChildren()
h = game.StarterGui.Ament.TextLabel
while true do
if game.Players.NumPlayers > 1 then
h.Text = "Choosing Game..."
wait(3)
ranGame = math.random(1, #minigames)
gameChosen = minigames[ranGame]
h.Text = "Minigame Chosen: " .. gameChosen.Name
wait(3)

1 comment
Use while wait() do instead of while true do