I tried to make a minigame intermission script but it isn't working, my script is down below.
--// Variables
local MapStorage = workspace.MapStorage
local IntermissionTime = 15
local Players = game.Players:GetChildren()
local Status = game.ReplicatedStorage.StatusValue.Value
local RoundInProgress = false
--// Intermission
while wait(1) do
if not RoundInProgress and #Players > 2 then
for i = IntermissionTime, 0, -1 do
Status = "Intermission: ".. i
end
elseif not RoundInProgress and #Players < 2 then
Status = "2 or more players are required to start"
end
end
I also have a script in the gui which sets the text to the status value, that is working fine so I narrowed this script down to the problem.

2 comments
It still doesn't work when the game has more than two people
Do you want to start the game when there are two or more players or when there are more than two players?