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

Tryna make a sound like, once the first sound stops, I didnt loop, the second one starts playing?

    if script.Parent.Sound.IsntPlaying then

game.Workspace.Sound:Stop()

game.Workspace.Sound2:Play()

end

end)

(btw what im saying now isn't in the script, but the first "end" is red underscored)

1 comment

0

Did my answer help you at all?

1 answer

IsntPlaying

Is not a property of a sound but you might want to use the event Sound.Ended This is an example of Sound.Ended:

local Sound = workspace.sound
local Sound2 = workspace.sound2

Sound:Play()

local function SoundEnded()
	Sound2:Play()
end

Sound.Ended:Connect(SoundEnded)

You should do more research before posting here. Use this as a reference:

developer.roblox.com

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