local Stoper = script.Parent local Sound = game.Workspace.Sound function onClick() Sound.Volume = 0 Sound:Remove() end Stoper.ClickDetector.MouseClick:connect(onClick)
It worked be4 the recent update today D:
:Remove() only sets the parent to nil, use Destroy() to remove it, if you want the sound to stop you have to destroy it.
local Stoper = script.Parent local Sound = game.Workspace.Sound function onClick() Sound.Volume = 0 Sound:Destroy() -- we are using the Destroy() method instead of the Remove() method here end Stoper.ClickDetector.MouseClick:connect(onClick)