MusicTable = {
"rbxassetid://184760055",
"rbxassetid://1280470",
"rbxassetid://1372262",
"rbxassetid://144441258",
"rbxassetid://155076373",
"rbxassetid://340580406",
"rbxassetid://145670303",
"rbxassetid://204842078",
"rbxassetid://278069764",
"rbxassetid://152572669"
}
while true do
script.Parent.Music:Stop()
current = math.random(1, #MusicTable)
script.Parent.Music.SoundId = MusicTable[current]
script.Parent.Music:Play()
wait(60)
end
COMMUNITY QUESTION
How do I make this play more than one song?
1 answer
maybe you should add a loop command. I don`t know much about it, but that's what I think may be wrong.
2 comments
0
i found the problem, it DOES play more than one song, except it has a 60 second wait time cus i put it at the end or something
0
nvm
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
Can you add some more info about what you are trying to do?
make it play a random song from the table.
This does play a random song from the table? if you want to play another sound add another sound object?
ok