after one music finishes, another music plays but this script does not work for some reason
local sound1 = 561833161 -- lchavasse - lunar abyss
local sound2 = 853077574 -- creo - sphere
local sound3 = 251954030 -- the final phase
local sound4 = 227436821 -- f777 - invincibility star
local sound5 = 657629765 -- waterflame - arcade punk
local music = script.Parent
while true do
music.SoundId = "rbxassetid://"..sound1
music:Play()
print("music 1 is playing")
wait(232)
music.SoundId = "rbxassetid://"..sound2
music:Play()
print("music 2 is playing")
wait(242)
music.SoundId = "rbxassetid://"..sound3
music:Play()
wait(122)
music.SoundId = "rbxassetid://"..sound4
music:Play()
wait(96)
music.SoundId = "rbxassetid://"..sound5
music:Play()
wait(242)
end
also, is there a more efficient way than just working out the wait time?

1 comment
If you have the file for the sound asset and you use a software you may be able to find out the exact wait time, if you don't then contact me on discord for more help - StandingMcdonalds#8924