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

Can I have some help on Background music?

So I just added background to one of my places and it's being weird for some reason. How I added the background music was by copying and pasting[ http://www.roblox.com/asset/?id= ] into a Sound that I inserted through Advanced objects. Then I made a Local script and put it in the Starter Gui. After that I codded in the LocalScript, game.Workspace.Sound:Play() , which did play the music when I tested my game in PlaySolo, but when I played the game, outside of ROBLOX studio, for some reason my background music wasn't playing. Does anyone know how to fix this?

1 answer

✓ Accepted answer

You should put the sound in workspace, then put a script inside it and write the code:

script.Parent:Play()

1 comment

0

Don't forget to set the music to loop if it is background music that's supposed to loop

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