Game In Progress Script Won't Work

The Code:

–Intermission Script
local guiToModify = script.Parent

if game.Workspace.GSC.Scripts.StatusHandler.Intermission.Value == true then
for i = 60,0,-1 do
guiToModify.TextLabel.Text = ("Intermission: "…i)
if i == 0 then
game.Workspace.GSC.Scripts.StatusHandler.Intermission.Value = false
game.Workspace.GSC.Scripts.StatusHandler.IntermissionIsDone.Value = true
else
wait(1)
end
end
end

–Game In Progress Script
local guiToModify = script.Parent

if game.Workspace.GSC.Scripts.StatusHandler.IntermissionIsDone.Value == true then
for i = 720,0,-1 do
guiToModify.TextLabel.Text = ("Game In Progress: "…i)
if i == 0 then
game.Workspace.GSC.Scripts.StatusHandler.IntermissionIsDone.Value = false
else
wait(1)
end
end
end

The Intermission will countdown then reach 0 and stay there but it should be going to the Game timer.

so the intermission sets the IntermissionIsDone Value to true, so shouldn’t the GameInProgress script pick up from there right?

I don’t think you need to do this. You could write it like this instead:

local guiToModify = script.Parent

if game.Workspace.GSC.Scripts.StatusHandler.IntermissionIsDone.Value == true then
 for i = 0,720 do
  guiToModify.TextLabel.Text = 'Game In Progress'..i
  wait(1)
 end
 game.Workspace.GSC.Scripts.StatusHandler.IntermissionIsDone.Value = false
end

This is since the for loop will not break until it has looped 720 times.

I hope this helps!