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
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
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.
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
Thanks.
No problem, good luck with your game.