I want a local script and when activated, it mutes all world sounds for the local player. What I mean by world sounds is any sound attached to a part, so that means the more closer you are to the part the louder it is. Is there a way to mute those sounds and only be able to hear the GUI sounds?
COMMUNITY QUESTION
How to make a LocalScript where it mutes all world sounds?
1 answer
Ok. Before I attempt to answer, next time you post a question please show the attempt.
Ok lets go This is a script that i have tested so it probably will work
if game.Workspace.Sound1.Playing then --Replace sound1 with the name of the sound you want to stop playing
game.Workspace.Sound1:Stop()
Ok I hope this worked and repeat the script as many times needed for every sound
Hope this helped! :)
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Where is your code? We can't help you without your code (attempt)!
I don't think you need my code. I just want a local script that when enabled, mutes all world sounds somehow.