Hello.
This is a quite easy fix, from what I can tell, you are trying to make a music play every time another song ends, and this is fairly simple. There is an RBXScriptSignal on ROBLOX named .Ended:Wait(). From this function, as in the name, it waits for the sound to stop playing. This will also make it so you won't be required to set a wait timer before starting to play another music. Your 2nd issue, is that you are using .Playing instead of :Play(). Using :Play(), will make it so the music will play, as in the name, and the function that you are using .Playing only applies to when the game starts.
Here is how you would make your script function properly:
local Music1 = script:FindFirstChild("Omae Wa Mou")
local Music2 = script:FindFirstChild("Naruto Opening 6 - No boy, No cry")
local Music3 = script:FindFirstChild("Naruto Shippuden - Sign (Opening 6) [English Full]")
while true do
Music1:Play()
Music1.Ended:Wait()
Music2:Play()
Music2.Ended:Wait()
Music3:Play()
Music3.Ended:Wait()
end
Hope this helps!
1 comment
Does the first song play?