function AlarmHazards(P)blinking=false blinking=true while blinking and script.Parent.Parent.Alarm.Value==true do Toggle("\072\097\122\097\114\100\115",true)wait(.33333333333333)Toggle("\072\097\122\097\114\100\115",false)wait(.33333333333333)end Toggle("\072\097\122\097\114\100\115",false)end script.Parent.Parent.Alarm.Changed:Connect(function()if script.Parent.Parent.Alarm.Value==true then AlarmHazards()end end)
--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)
