Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to make sound stop playing?

So I have a game, and at the start there is a Welcome GUI, What I want to do is stop a sound from playing once it has been clicked. Here is what I have:

function onClicked()
	script.Parent.Parent.Parent:Destroy()
	game.Workspace.Sound:Destroy()
end
script.Parent.MouseButton1Click:connect(onClicked)

Any help?

1 answer

✓ Accepted answer

Sound:Stop()

That's all.

2 comments

0

So if I wanted to play a new sound after the sound stopped, What would I need to do, because I tried wait?

0

Sound:Play()

This discussion is preserved as it was. New answers, comments, and votes are closed.