Basically, This code works. I am little bit confused on how it works, can someone add comments beside every line (expect the ones where I have defined the Music)
local MusicOne = game.SoundService.MusicOne
local MusicTwo = game.SoundService.MusicTwo
local MusicThree = game.SoundService.MusicThree
local MusicFour = game.SoundService.MusicFour
local MusicFive = game.SoundService.MusicFive
local function play(sound)
sound:Play()
sound.Ended:Wait()
end
while true do
play(MusicOne)
play(MusicTwo)
play(MusicThree)
play(MusicFour)
play(MusicFive)
end

2 comments
You created a function, with parameters. Since you inserted the sound into the parameter, the function did its job. Simple as that.
This is not for an answer I was looking for, If you would love to help as I Said, pls go more on details