Hello, this script manages the status of the round although in the initial launch of the server the function does not detect the status value’s change fast enough. Any help is appreciated.
ServerScript:
local function Intermission()
RoundModule.RespawnPlayers()
RoundModule.Status("Intermission", 20)
end
local function StartRound()
RoundModule.SetupRound()
RoundModule.Status("Round", 120)
end
while true do
Intermission()
StartRound()
end
LocalScript:
RoundInfo.Status.Changed:Connect(function()
if RoundInfo.Status.Value == "Intermission" then
Status.Text = "Intermission"
elseif RoundInfo.Status.Value == "Round" then
Status.Text = "Survivors must Survive Ashes for the Full Round."
end
end)