Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Music is not playing?

The sounds for everything else work but not the music. I checked the output:

There is nothing in the output.

local pp = game:GetService("SoundService")

script.Parent:RemoveDefaultLoadingScreen()

game.StarterGui:SetCoreGuiEnabled("All", false)


local mu = Instance.new("Sound")
local muss = Instance.new("Sound")
local music = pp:WaitForChild("music")
music:Play()



music.Stopped:connect(function()
	mu.Parent = pp
	mu.Name = "music2"
	mu.Volume = 1
	mu.SoundId = "rbxassetid://214176955"
end)

mu.Stopped:connect(function()
	muss.SoundId = "rbxassetid://262836731"
	muss.Parent = pp
	muss.Name = "Music3"
	muss.Volume = 1
	muss:Play()
end)

muss.Stopped:connect(function()
	music:Play()
end)

2 comments

0

It's SoundService, not Soundscape.

0

still not working

1 answer

✓ Accepted answer

It is likely that you have put a string in WaitForChild that isn't the name of anything, so try putting a print after it?

This discussion is preserved as it was. New answers, comments, and votes are closed.