Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make certain audio play in a certain area?

Asked by 9 years ago

Im creating a city, and to make it more realistic I want to have stores playing music, but when you leave you can't hear the audio or It's not as loud. I've seen examples of it in some games, and I would like to know how to do it.

1 answer

Log in to vote
0
Answered by
Shawnyg 4330 Trusted Badge of Merit Snack Break Moderation Voter Community Moderator
9 years ago

Well, first, you'd add a part or make a model of where you want the sound to be played from. Then, you insert the Sound and edit its properties (Such as volume, id, etc.). Those are the 2 steps you'll basically need. The farther away you get from it, the less hear-able it is.

0
So how exactly, do I just insert sound on to the part and then it plays where i want it? Or do I need a script for it to work and the sound? koolayman 0 — 9y
0
Depends when you want it to play. If you want it to loop, change the Looped property, and in a script, put this: script.Parent:Play() Shawnyg 4330 — 9y
Ad

Answer this question