You can write your topic however you want, but you need to answer these questions:
What do you want to achieve?
Hello. So, i have a folder in my workspace with an BindableEvent inside of it.
And in the folder there is multiple models that contains a part name “SoundPart”.
And when the BindableEvent is fired i want all SoundPart to play the sound i precise in the :Fire() (i already did this system don’t worry)
(Oh and my script create a sound in the SoundPart)
What is the issue?
When i Fire the event it play the sound only on one part and not on all part.
What solutions have you tried so far?
I tried to fix it myself and looked on forums but i found nothing.
local children = workspace.folder:GetChildren()
for i = 1, #children do
local child = children[i]
if child.Name == "SoundPart" then
child.sound:Play()
end
end
A sound cannot be propagated from multiple emitters. You need to have a Sound instance in every object that you want the sound to be emitted from.
If you really want to get deep into object management, then something you could consider is playing the sound locally and dynamically adjusting the volume based on EmitterSize, MaxDistance and the player’s distance from an applicable emitter, though that’s not ideal and too much technical work for a simple matter of wanting a sound to propagate from multiple emitters.