--custom cat stuff


function AlarmHazards(typ)
	blinking = false
	blinking = true
	while blinking and script.Parent.Parent.Alarm.Value == true do
		Toggle("Hazards", true)
		wait(1/3)
		Toggle("Hazards", false)
		wait(1/3)
	end
	Toggle('Hazards', false)
end

script.Parent.Parent.Alarm.Changed:Connect(function()
	if script.Parent.Parent.Alarm.Value == true then
		AlarmHazards()
	end
end)
