There's this script I have that makes play music. The parent of the script is Sound object that allows the ability of Sound to play more than one song.
local musicTable =
{
142304703, --- efwfe
142304778,
142304968,
142305080,
142305170
}
local function play(id)
script.Parent.SoundId = "rbxassetid://"..id
script.Parent:Play()
script.Parent.Ended:wait()
end
for _, soundID in pairs(musicTable) do
play(soundID)
end
The only problem, it goes into order random than shuffled which I want it to be. How do I make so that it doesn't play the songs in order and that it wouldn't repeat the song again after it played which I had experience when I had scripts that made song list randomized.

1 comment
Now it doesn't work at all!