I make a mini game script that if have no players in the mini game, the timer stops and the message says "Time ended". But why its not working. I have a folder named "Ingame". The parent of this folder is workspace. It is working when the timer is 0 then it says times up but when the ingame is nil it not working and it is continued to countdown until it reaches 0 and disables the script of the timer. This is the part of my script that i mean.
local Time = game.ReplicatedStorage.Values:WaitForChild("Timer")
repeat
game.ServerScriptService.Time.TimeThreeMinutes.Disabled = false
wait()
until Time.Value == "0:00" or workspace.Ingame == nil
game.ServerScriptService.Time.TimeMinutes.Disabled = true
Status.Value = "Time's up"
Can you help me??

5 comments
Time.Value == "0:00", does that not seem a bit STRANGE
i mean i missed the variables
there edited
greatneil80 i think its supposed to be a string value that copies another value and translates it into time
No ^