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

How to make the script act AFTER the sound stops playing?

wait(0.1)
ASong:Play()
wait(0.5)
BSong:Play()
wait(0.5)

When ASong plays, it plays for 0.5 seconds and just play BSong. How can I make it so the script waits for the song to finish up?

EDIT: This is the full script

ASong = script.Parent.Sound1
BSong = script.Parent.Sound2
CSong = script.Parent.Sound3
DSong = script.Parent.Sound4
ESong = script.Parent.Sound5
FSong = script.Parent.Sound6
GSong = script.Parent.Sound7

while true do
wait(0.1)
ASong:Play()
wait(0.5)
BSong:Play()
wait(0.5)
CSong:Play()
wait(0.5)
DSong:Play()
wait(0.5)
ESong:Play()
wait(0.5)
FSong:Play()
wait(0.5)
GSong:Play()
wait(0.5)
end

1 answer

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