--	print(hasAnyWater)

	if hasAnyWater then
		if script.Parent.Parent.Charges.Value < 100 then
			script.Parent.Parent.Charges.Value = script.Parent.Parent.Charges.Value + 25
			script.Parent.FillSound:stop()
			script.Parent.FillSound.Pitch = math.random(5,15) / 10
			script.Parent.FillSound:play()
		end
	end
end

function alsowater(hit)
	if hit.Name:lower() == "water" then
		if script.Parent.Parent.Charges.Value < 100 then
			script.Parent.Parent.Charges.Value = script.Parent.Parent.Charges.Value + 50
			script.Parent.FillSound:stop()
			script.Parent.FillSound.Pitch = math.random(5,15) / 10
			script.Parent.FillSound:play()
		end
	end
end

script.Parent.Touched:connect(alsowater)
