My script line 17 and 19 states:
timer.Text = "A brawl is starting in "..tostring(minutes)..":0"..tostring(seconds)
Now that I’ve added the "A brawl is starting in ", my entire script suddenly doesn’t work what a countdown is. Without that "A brawl is starting in " it worked. Only I would like to add the text before the minutes and seconds countdown. I hope that someone can help.
local enough = game.ReplicatedStorage.FightRemoteEvents.Enough
local timer = script.Parent.Parent.Enough
local minutes = 0
local seconds = 59
enough:GetPropertyChangedSignal("Value"):Connect(function()
if enough.Value == "OFF" then
repeat
if seconds <= 0 then
minutes = minutes -1
seconds = 59
else
seconds = seconds -1
end
if seconds <9 then
timer.Text = "A brawl is starting in "..tostring(minutes)..":0"..tostring(seconds)-- here
else
timer.Text = "A brawl is starting in "..tostring(minutes)..":"..tostring(seconds)-- here
end
wait(1)
until minutes <= 0 and seconds <= 0
end
end)