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

Keeping a sound limited to a certain spot?

Asked by 6 years ago

Hey. I can't find any you tube tutorials on this. I just need to know how to make it so when a song is played, it can only be heard from a certain distance away, and not the entire server. Thanks!

2 answers

Log in to vote
0
Answered by 6 years ago

This has nothing todo with scripting. Theres a property called maxdistance

http://wiki.roblox.com/index.php?title=API:Class/Sound/MaxDistance

If this helped then select it as the answer

0
I think he meant differen GIassWindows 141 — 6y
0
t zones. lmao I accidentally clicked post. Anyway, what he should do is use Region3 GIassWindows 141 — 6y
0
Still does not change it, I can still hear it everywhere. Wiki said that if the sound is global or ambient, then it will be heard throughtout the game,. So how do I turn off the global thing? Idk where to find it hawkeye1940 8 — 6y
Ad
Log in to vote
0
Answered by 6 years ago

This is a pretty easy problem to fix. To do it make sure you have the properties and explorer windows out. In the explorer, click the sound you want to set the max distance of. In properties, scroll to Data, then MaxDistance. Click the text box next to where it says MaxDistance, and then type the number of studs that you should be able to hear the sound from.

Answer this question