local waittick = 1
local function round()
local ttiimmee = 120
while wait(waittick) do
if ttiimmee > 0 then
game.Workspace.Time.Value = "Round: "..ttiimmee..""
print(ttiimmee)
ttiimmee = ttiimmee - 1
else
game.ReplicatedStorage.CT.Value = game.ReplicatedStorage.CT.Value + 1
end
end
end
round()
local warmup = false
local waittick = 0.005
local won = false
local ttiimmee = 120
local oldtime = 120
local function round()
while wait(waittick) do
if not won then
if ttiimmee > 0 then
game.Workspace.Time.Value = "Round: "..ttiimmee..""
print(ttiimmee)
ttiimmee = ttiimmee - 1
else
game.ReplicatedStorage.CT.Value = game.ReplicatedStorage.CT.Value + 1
won = true
end
end
end
end
round()
while wait() do
if won == true then
print("you won")
won = false
ttiimmee = oldtime
end
end