function KeepBlowerActive()repeat wait()BlowerVal.Value=true until BlowerSwch.Value==false or Power.Value==false BlowerVal.Value=false end BlowerSwch.Changed:Connect(function()if BlowerSwch.Value==true then BlowerSwch.Parent.P1.Transparency=1 BlowerSwch.Parent.P2.Transparency=0 ClickSound:Play()if Power.Value==true then KeepBlowerActive()end else BlowerSwch.Parent.P1.Transparency=0 BlowerSwch.Parent.P2.Transparency=1 ClickSound:Play()BlowerVal.Value=false end end)
--BlowerSwitch

function KeepBlowerActive()
	repeat
		wait()
		BlowerVal.Value = true
	until BlowerSwch.Value == false or Power.Value == false
	BlowerVal.Value = false
end

BlowerSwch.Changed:Connect(function()
	if BlowerSwch.Value == true then
		BlowerSwch.Parent.P1.Transparency = 1
		BlowerSwch.Parent.P2.Transparency = 0
		ClickSound:Play()
		if Power.Value == true then
			KeepBlowerActive()
		end
	else
		BlowerSwch.Parent.P1.Transparency = 0
		BlowerSwch.Parent.P2.Transparency = 1
		ClickSound:Play()
		BlowerVal.Value = false
	end
end)
