I'm using an OnTouched script to play a sound. The problem is, once the model the sound is located in is removed, it continues to play. I need for the sound to stop playing once removed. No, PlayOnRemove
is not set to true. Can anybody help with this? Here's my code...
Sound = script.Parent.Sound active = false function onTouched(hit) if active == false then Sound:Resume() active = true end end connection = script.Parent.Touched:connect(onTouched)