Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Mute Music In Certain Areas?

(I'll start this off saying I have next to no experience with scripting.)

I want a shop hidden in an alleyway with certain music playing, but I've already got music that plays across the entire Place, any way I could mute the Place music while in the alley?

Not sure if it helps, but the Place music is:

https://www.roblox.com/library/149300887/The-Legend-of-Zelda-Ocarina-Hyrule-Castle-Town

The alley music is:

https://www.roblox.com/library/156635937/The-Legend-of-Zelda-Ocarina-of-Time-Potion-Shop

2 comments

0

used the Touched events and TouchEnded. Google it on the wiki and use Touched to stop the music, then when the touch ends, it plays it. Easy!

0

Reguarding TheUniPiggy's comment, make sure you do that in a local script, with FE on. SO that it only changes for the client

1 answer

What you can do is make the audio play in each player's ScreenGui in their PlayerGui since the sound would be only on their side. Then as you UniPiggy said: you can use touch events to :Play() and :Stop() their sound.

This discussion is preserved as it was. New answers, comments, and votes are closed.