I'm afraid you need to write something with playsound3D if you want a distance effect. Probably some other commands but this one work. You have an example here
. Not the simplest one but you catch the idea. Make your trigger with detected by condition. It's the most appropriate. Repeatable.