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

how do i put music in my game?

i am trying to but idk how insert them

1 answer

  1. Find a sound (or upload one) on the website and get the asset ID, which is the number at the end of the URL.
  2. Open ROBLOX Studio and open a place in Edit Mode.
  3. Open your Basic Objects panel and double-click "Sound". Make sure it's in Workspace.
  4. Once there, click the Sound icon to open up properties.
  5. Next to “SoundId”, enter "http://www.roblox.com/asset/?id=" plus the asset ID (Example: http://www.roblox.com/asset/?id=130764021).
  6. Now click on StarterGui, and double-click "LocalScript".
  7. Remove "print 'Hello world!" and enter the following script: game.Workspace.Sound:Play()
  8. Publish to ROBLOX and save your game.

How to upload a sound:

  1. Go to ROBLOX>Develop>Audio and follow the instructions
  2. Go to ROBLOX>Home>Profile>Inventory>Audio and click your new audio.
  3. Follow the steps above and your done!

2 comments

0

i tryed and still does not work?

0

Send me the sound ID,the code you have used for the script that should be in StarterGui and the name of your place.

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