Sound:Stop() Wont work?

  1. What do you want to achieve?
    I would like to stop music from playing when using :Stop() function

  2. What is the issue?
    :Stop() wont stop my sound from playing

  3. What solutions have you tried so far?
    Ive tried looking on google and people have had this problem but those fixes didnt work for me.

RS.RemoteEvents.TPplayers.OnClientEvent:Connect(function()
	
	ContextActionService:UnbindAction(FREEZE_ACTION)
	plr.PlayerScripts.SoundTrack1:Stop()
	script.Parent.Enabled = false
	print("Sound disabled")
	
end)

Print works and also this script is a local one

You’re sound inside StarterPlayer > StarterPlayerScripts actually ALSO plays, so it not only plays inside the client’s playerscripts but also in the service itself, you should turn off “Playing” if the name of the parent of the sound is “StarterPlayerScripts” so it will not play inside StarterPlayerScripts.

1 Like