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

I am making a music player and I am getting an error can anybody help?

I am making a music player and I encountered this problem along the way.

local sound = soundService:WaitForChild("musicSound")
sound.SoundID = musicID

15:47:50.025 - SoundID is not a valid member of Sound

1 answer

✓ Accepted answer

You need to change "SoundID" to SoundId

Here:

local sound = soundService:WaitForChild("musicSound")
sound.SoundID = musicID

Also, I recommend not putting the output in your code block.

2 comments

0

Thanks.

0

No problem, good luck with your game.

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