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)
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)
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:
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Did my answer help you at all?