So I have this script, and I use it for background music in game. The script is a normal script (a-non-local and stuff like that) and the sound that plays the music is called "Music". The sound is in the StarterGui.
local sound1 = 918984470
local sound2 = 949583914
local sound3 = 390846973
music=script.Parent
while true do
wait()
music.SoundId="rbxassetid://"..sound1
music:Play()
music.Ended:wait()
wait()
music.SoundId="rbxassetid://"..sound2
music:Play()
music.Ended:wait()
wait()
music.SoundId="rbxassetid://"..sound3
music:Play()
music.Ended:wait()
wait()
end
When I look in the output it says "Sound"" failed to load in "StarterGui.Music.SoundId": Request failed"

6 comments
Try adding a wait(2) in the beginning of the script because roblox gets wonky loading in. I'll take a further look in if this doesn't work.
Have you tried making this a LocalScript to see what happens? >->
did you copy the soundids from the roblox site? if so try subtracting 1 from them or put then into a sound in studio and then use the number it give you.
Thanks TheeDeathCaster. That worked. I have already tried it before, but it didn't seem to work back then...
https://scriptinghelpers.org/help/community-guidelines Attempts should be your own work. Don't take a free model and expect us to fix it.^
It actually work on my studio. Lol.