local function L()for L,C in pairs(Emitters:GetChildren())do if C and C:FindFirstChild("\069\109\105\116\049")then(C:FindFirstChild("\069\109\105\116\049")).Enabled=IsOn.Value end if C and C:FindFirstChild("\069\109\105\116\050")then(C:FindFirstChild("\069\109\105\116\050")).Enabled=IsOn.Value end end if ShouldEmitSound.Value and IsOn.Value then WaterLoop:Play()TweenVolume(WaterLoop.Volume,MaxVolume.Value,2.5,false)elseif not IsOn.Value or not ShouldEmitSound.Value then TweenVolume(MaxVolume.Value,0,2.9,true)end end

local function ConfigWater()
	for _,v in pairs(Emitters:GetChildren()) do
		if v and v:FindFirstChild("Emit1") then
			v:FindFirstChild("Emit1").Enabled = IsOn.Value
		end
		if v and v:FindFirstChild("Emit2") then
			v:FindFirstChild("Emit2").Enabled = IsOn.Value
		end
	end
	
	if ShouldEmitSound.Value and IsOn.Value then
		WaterLoop:Play()
		TweenVolume(WaterLoop.Volume,MaxVolume.Value,2.5,false)
	elseif not IsOn.Value or not ShouldEmitSound.Value then
		TweenVolume(MaxVolume.Value,0,2.9,true)
	end
end
