local B=script.soundeffect if level>=0 and level<=100 then B.HighGain=(level*-1)/2 B.MidGain=(level*-1)/2 elseif level<0 then B.HighGain=0 B.MidGain=0 elseif level>100 then B.HighGain=-50 B.MidGain=-50 end


local effect = script.soundeffect

if level >= 0 and level <= 100 then
	effect.HighGain = (level*-1)/2
	effect.MidGain = (level*-1)/2
elseif level < 0 then
	effect.HighGain = -0
	effect.MidGain = -0
elseif level > 100 then
	effect.HighGain = -50
	effect.MidGain = -50
end
