Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you make a other song play after your first song?

Asked by 4 years ago
play ("test")
then play ("test II")

3 answers

Log in to vote
0
Answered by 4 years ago

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.

Ad
Log in to vote
0
Answered by 4 years ago

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)
Log in to vote
0
Answered by
iuclds 720 Moderation Voter
4 years ago
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

Answer this question