Cant figure out why this simple 7 line script wont work

I have this here script acting as a music playlist. The script is a normal script inside workspace. The part is also inside workspace named “BoomBox”. I have two sounds name “Vello”, and “Loner”. When I load up the game, “Vello” plays fine, but then it’s like the wait function does not play and the second song does not play. Script here:

while true do – Any events inside of the while true do will repeat forever until the server shutsdown
workspace.BoomBox.Vello:Play() – This is the sound that we want to start playing first
workspace.BoomBox.vello.Ended:Wait(2) – When the song ends, we wait 3 seconds before the next song plays
workspace.BoomBox.Loner:Play()
workspace.BoomBox.Loner.Ended:Wait(2)
– You can add more sounds if you would like
end

1 Like

Edit: Never mind Folk! I forgot to capitalize the second V in Vello. :man_facepalming: It works now!

2 Likes