I can hear Sound from super far away

Hello! I am having an issue where you can hear someone pick up let’s say a coin, and it plays a sound, and you can hear from SUPERRR far away. I already tried to do the Min Distance, Max Distance, it still seems to have the same output. How can I fix this? It’s really annoying, and no matter what I do, it seems to have the same issue.

(This goes along with everything that uses a sound that you collect)

Thanks! Any help will be appreciated! :grinning_face_with_smiling_eyes:

2 Likes

https://developer.roblox.com/en-us/api-reference/property/Sound/RollOffMaxDistance

You just need to modify the value of this property of the “Sound” instance.

1 Like

If the parent of the sound object is not a BasePart, then the sound plays on the client with no RollOff. You need to make sure the parent of the sound object is a BasePart in the workspace.

1 Like

Do you mean this?

image

What do you exactly mean? I don’t get what you’re trying to say.

Decrease the value of “RollOffMaxDistance”.

So how low? Cause even with 0.5, I can hear it across the globe

1 Like

Oh, you need to make sure the “Sound” instance is inside a “Part” instance for that property to take effect. Set the value to 10 or something.

1 Like

image
So it can’t be like that? Where do I put the Sound? If so, that would make a ton of sense.

Put it as a direct child of the part. So the same level as the scripts in this case.

No it needs to be inside a “Part” instance or an “Attachment” instance. And “RollOffMaxDistance” determines how many studs away from the part the sound will be heard from when it plays, so a value of 10 indicates 10 studs etc.

Is this what you mean?

image

Yes, now the sound should not be heard from the entire map.

Alright, thank you, let me test it!

No problem, just play around with the value until it works best for you.