Sounds and FilteringEnabled #RobloxDev

Haven’t gotten to test this all that much but have found that the sound:Stop() does not do anything in client mode if FilteringEnabled is on and the sound is parented in the PlayerGui.

This is one of MANY MANY things I’ve found about FilteringEnabled that isn’t exactly mentioned in the documentation, and I don’t know if that’s because it’s really a problem or if there’s a solution I just haven’t been able to find through searching.

At any rate, I have two functions to handle sounds. One that creates the sound if it doesn’t exist (usually in player.PlayerGui) and then plays it. The other destroys it (sound:Destroy()). This is the only way so far I’ve been able to get sounds to stop in play mode.

I’ve also found that to get a sound to play more than once in the client (let’s say you want a cash register sound every time a player buys something) you first have to do


.. instead of just sound:Play()

… though again – hopefully I’m just missing something and will find a better way someday.


Leave a Reply

Your email address will not be published. Required fields are marked *