ı tried make timer like this but there is a problem. if do addtime when time = 0 i wont be repeat again. What can i do?
local Time = 60
function AddTime(T: number)
Time += T
end
function Something()
end
function Something2()
end
while true do
Time -= 1
task.wait(1)
Something()
if Time == 0 then
Something2()
break
end
end