play ("test")
then play ("test II")
✓ ANSWER ACCEPTED
How do you make a other song play after your first song?
3 answers
✓ Accepted answer
What you could do i a special wait() block that waita until the first sound is finished.
workspace.Sound1:Play() wait(game.Workspace.Sound1.TimeLength) -- This waits as long as the sound takes. workspace.Sound2:Play() wait(game.Workspace.Sound2.TimeLength)
Hope this helped and have a good day, Destroyer1234x.
Create 2 sounds in Workspace, and paste in the id in the sounds. In this case, they are named Sound1 and Sound2. Then create a script and put the following code inside
game.Workspace.Sound1.Playing = true -- plays sound
wait(game.Workspace.Sound1.TimeLength)-- waits the length of the sound
game.Workspace.Sound2.Playing = true
wait(game.Workspace.Sound2.TimeLength)
while true do
wait(1) -- Dont wanna crash?
game.Workspace.Anime.Playing = true
if game.Workspace.Anime.Playing == false then
game.Workspace.Squidward.Playing = true
if game.Workspace.Squidward.Playing == false then
end
end
end
This discussion is preserved as it was. New answers, comments, and votes are closed.
