local m = chooseDisaster():clone()
function removeD()
m:remove()
end
function countdown(time)
game.Workspace.CDHint.Value = string.format(disasterCountdown, tostring(time))
while (time > 0) do
wait(1)
time = time - 1
game.Workspace.CDHint.Value = string.format(disasterCountdown, tostring(time))
end
removeD()
return true
end
This is supposed to make it so that when the disaster comes it will countdown the seconds left until the disaster ends, the CDHint shows up, but when it does the disaster ends right away and the CDHint is still counting down. Help please?

1 comment
Help me please someone!