I wanted to make the songs continue, example, when a song ends another begins, i have this script --
Music = 1000000001 local Audio = Instance.new("Sound", game.Workspace) wait(1) Audio.PlayOnRemove = true Audio.SoundId = "rbxassetid://"..Music Audio:Play()
But I don't know how to do another music continue
someone can help me? Thanks
EDIT 2
Not sure if you mean random, but let's just do a sequence.
You seem to not use the local wich is important to define variables in the script.
local Music = 1000000001 local Audio = Instance.new("Sound", game.Workspace) wait(1) Audio.PlayOnRemove = true Audio.SoundId = "rbxassetid://"..Music Audio:Play()
Now when song ends we will make it add another one!
function Id(id) return "rbxassetid://"..id end local Audio = Instance.new("Sound", game.Workspace) while true do wait(1) Audio.PlayOnRemove = true Audio.SoundId = Id(1000000001) Audio:Play() while not Audio.IsPaused do wait() end Audio.SoundId = Id(9193555) Audio:Play() wait() end
Hope this helps! Thanks, ~marcoantoniosantos3