Hello Developers!
I have a script that you enter the music id and it’ll play. But it somehow wont work.
Code:
Error:
Video: robloxapp-20210301-1620103.wmv (982.0 KB)
It’s printing Success but I don’t hear it. Any response is appreciated!
Hello Developers!
I have a script that you enter the music id and it’ll play. But it somehow wont work.
Code:
Error:
Video: robloxapp-20210301-1620103.wmv (982.0 KB)
It’s printing Success but I don’t hear it. Any response is appreciated!
Did you upload the audio to Roblox recently? If so, it takes some time for the audio to be uploaded completely and for it to load in games.
SoundId needs to be a valid ContentId. If you’re just typing the id in the box and then immediately giving that to SoundId, it won’t work. Prefix the SoundId with rbxassetid:// for it to work.
newSound.SoundId = "rbxassetid://" .. musicCodeBox.Text
It was made roblox a while ago, so it is uploaded.
Thanks so much! It worked!!!