Run it
Copy the script and paste it into your executor.
--// SERVICES
local SoundService = game:GetService("SoundService")
--// CHILL MUSIC PLAYLIST (Roblox Sound IDs)
local chillPlaylist = {
"rbxassetid://1837879082", -- Chill Lofi 1
"rbxassetid://1839841807", -- Chill Lofi 2
"rbxassetid://9043887091", -- Ambient Chill
"rbxassetid://9042539129", -- Relaxing Beats
"rbxassetid://1845341258", -- Smooth Vibe
"rbxassetid://1848354536" -- Soft Aesthetic
}
-- Create a dedicated Sound instance
local musicSound = Instance.new()
musicSound.Name =
musicSound.Volume =
musicSound.Looped =
musicSound.Parent = SoundService
remainingPlaylist = {}
()
remainingPlaylist = {}
_, soundId (chillPlaylist)
.(remainingPlaylist, soundId)
i = #remainingPlaylist, , -
j = .(i)
remainingPlaylist[i], remainingPlaylist[j] = remainingPlaylist[j], remainingPlaylist[i]
( .. (#remainingPlaylist) .. )
()
#remainingPlaylist ==
()
nextTrack = .(remainingPlaylist, )
musicSound.SoundId = nextTrack
musicSound:()
( .. nextTrack)
musicSound.Ended:(playNextSong)
()
Universal