This is how to make a multiplayer game with sound that fades out.

First use make 100 proximitys then make each proximiy have amount mare than the last thant make the volume baste on the closest proximity it is in then make copy of each level with globol or mail than make as many copys pur level as max players.

Or just test for the range…

what do you mean is it more compact.
Walk right for louder

Just get the X and Y from the player and sound source, then

For the X:
Math.abs(A-B) —>

For the y:
Math.abs(A-B) —>

Then A+B for total distance
—> make your range for the volume of 100%

Like 250 distance /100 = 25% sound

do the players still need to be in diferint levels.