of     1   

JustPlas
#114708246Saturday, October 05, 2013 5:19 AM GMT

I need some help playing music on my game. And I don't know a lot about scripts so forgive me if I don't know what I'm talking about. So I put a free music script on my game, it came with the music in it. the script is while true do wait(10) script.MUSIC:Play() end and inside the script was a sound, the sound already had an audio id in it, so I replaced it with my own. Then still inside studio mode, I went to test. When walking around in test mode, the audio played perfectly. So I published and went to try the game out, however no music plays in the actual game. Only inside test mode can the audio be heard. What am I doing wrong here, I'd really appreciate any help.
AncientHman
#114709589Saturday, October 05, 2013 5:53 AM GMT

Hi there. Try changing the sound link to http://www.roblox.com/asset/?id= they're usually set to http://roblox.com/asset/?id=
JustPlas
#114709914Saturday, October 05, 2013 6:01 AM GMT

Hi thanks for replying, that's what it's set to now though and it still doesn't seem to be working. But everything works fine for me on test mode.
AncientHman
#114709970Saturday, October 05, 2013 6:03 AM GMT

It says http://www.roblox.com/asset/?id= ? with the www.
JustPlas
#114710288Saturday, October 05, 2013 6:12 AM GMT

Yeah in SoundId it says http://www.roblox.com/asset/?id=131130639 I switched it around and did the same without the www and when I did that it wouldn't work in test mode. However it works with www in test mode, only it won't work in the actual game like that.
AncientHman
#114710402Saturday, October 05, 2013 6:16 AM GMT

Oh, I know! Make the script a child of the Audio. so script.Parent = Audio the script line would be script.Parent:Play() wait(insertnumbershere) script.Parent:Stop()
JustPlas
#114710830Saturday, October 05, 2013 6:32 AM GMT

Thanks, but I tried it and it didn't work so do I have to rename the script of the sound before it works? Right now the script is called RainSoundPlayer and the sound under it is called Rain1 and they were named this when I took them. The previous script was this while true do wait() -- plays the sound untill its over, than repeats so sound does not overlap script.Rain1:play() wait(2) script.Rain2:play() wait(3) end But I then changed it to this while true do script.Parent:Play() wait(15) script.Parent:Stop() end
communityescape
#116261991Wednesday, October 23, 2013 8:13 PM GMT

Now you can upload teh sounds.
AncientHman
#116263160Wednesday, October 23, 2013 8:26 PM GMT

We could back when this was posted too.
Tehpwnzor48
#118041115Saturday, November 16, 2013 11:37 PM GMT

I think it's the capitals
CovertLeader
#118041666Saturday, November 16, 2013 11:43 PM GMT

I don't know how to help.
dorito9000
#146923828Sunday, September 28, 2014 4:37 AM GMT

Put the song in Workspace, Soundscape is for ambeint sounds
Aroushpuppylover
#220542497Wednesday, July 05, 2017 8:06 PM GMT

I have my sound to max ,speakers,volume,roblox games and it wont work!

    of     1