I am trying to make a intermission for the script and it weird the intermission is going down by 1 but then the text changed I got a video explaining the problem
and here is the script
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local ServerStorage = game:GetService("ServerStorage")
local Maps = ServerStorage:WaitForChild("Maps")
local Status = ReplicatedStorage:WaitForChild("Status")
local Intermission = 15 -- This is the time in the lobby
local GameTime = 180 --The game time till it ends
local ParticipationReward = 10 --The reward that each participating player gets
local WinnerReward = 20 --This reward is only rewarded to the winner of each match
local PlayerAmount = 2 --This indicates how many players are suppost to be for the game to begain
local Loadingscreen = ReplicatedStorage:WaitForChild("LoadingScreen")
while true do
Status.Value = "Waiting for "..PlayerAmount.." to start the game!"
repeat wait() until game.Players.NumPlayers >= 1
for i = Intermission,0,-1 do
Status.Value = "Intermission: "..i.."!"
wait(2)
Status.Value = "Choosing map!"
wait(2)
Status.Value = "Map has been choosen teleporting players now"
end
end