Region3 vs GetPartBoundsInBox for Playing music when on a Part with No Collisions

Hi,

I’m trying to make a script that plays music when a player is on a part that contains CanCollide disabled. I saw that people suggest using either Region3 or GetPartBoundsInBox, but I’m not sure which one to use for this.

Which method is best for detecting when a player touches a part and triggering music? And how can I use these in a script?

Thanks!

1 Like

Enable volumetric audio and set the distance to 0

1 Like

Heya @MrOnlyKemal! Thank you for the reply!

I have analyzed the post and I started enabling the volumetric option on SoundService and set the RollOffMinDistance to 0. The result… It works! :smile:

Marking your comment as a solution! :blue_heart:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.