How to make sound stop when the parent brick is clicked?
03 | script.Parent.Clicky.Disabled = true |
05 | game.Workspace.KillerRadius.Script.Disabled = true |
07 | script.Parent.Sound.Script.Disabled = true |
09 | script.Parent.Clicky.Disabled = false |
11 | game.Workspace.KillerRadius.Script.Disabled = false |
13 | script.Parent.Sound.Script.Disabled = false |
17 | script.Parent.ClickDetector.MouseClick:connect(Click) |
When the brick is clicked, it will do those things. Now almost all of these work, except the sound bit. It doesn't stop. The sound is looped, and only lasts about 3 seconds, so there should be no problem stopping it within 3 seconds, yet it keeps going, and going. Any ideas? How could I fix this?