How to muffle ambience audio when indoors

Hello! I have been struggling lately making script that makes ambience sound muffled when player is detected indoors.

I have no idea how to make it. I am not really good in using Region3.
I would need help how to make it.

2 Likes