function waterOutput()if script.Parent.ColdOn.Value==false and script.Parent.HotOn.Value==false then showerHead.Enabled=false showerSound:Stop()else showerHead.Enabled=true showerSound:Play()end end script.Parent.ColdOn.Changed:connect(function()waterOutput()end)script.Parent.HotOn.Changed:connect(function()waterOutput()end)


function waterOutput()
	if script.Parent.ColdOn.Value == false and script.Parent.HotOn.Value == false then
		showerHead.Enabled = false
		showerSound:Stop()
	else
		showerHead.Enabled = true
		showerSound:Play()	
	end
end

script.Parent.ColdOn.Changed:connect(function()
	waterOutput()
end)

script.Parent.HotOn.Changed:connect(function()
	waterOutput()
end)
