Alright there HAS to be a more simple way of doing this
while wait(1) do
local Playable = true
if CarAlarmCooldown.Value == 0 then
for i = 1, Interval * 60 do
if CarAlarmCooldown.Value ~= 0 then Playable = false end
wait(1)
end
if Playable then
Alarm:Play()
end
end
end
end)```