You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You cannot stop sounds created on the client with SoundUtils. This is as it uses DataModel:GetService("SoundService"):PlayLocalSound to play sounds locally. If the end user were to destroy the sound while it was still playing, it'd still play and this is especially annoying for use-cases such as doors or tools.
Another pet-peeve is that task.delay continues to run even if the sound is destroyed. Check if the sound is destroyed so you're not calling a nil value!
The text was updated successfully, but these errors were encountered:
You cannot stop sounds created on the client with SoundUtils. This is as it uses
DataModel:GetService("SoundService"):PlayLocalSound
to play sounds locally. If the end user were to destroy the sound while it was still playing, it'd still play and this is especially annoying for use-cases such as doors or tools.Another pet-peeve is that
task.delay
continues to run even if the sound is destroyed. Check if the sound is destroyed so you're not calling anil
value!The text was updated successfully, but these errors were encountered: