How to Make a Music Box on ROBLOX.com
- 1). Start Roblox by going to the website (see Resources for the link), logging in (or creating an account if you don't have one) and loading the game.
- 2). Click "Insert" then "Objects" and pick a sound object. Name the object anything you want, but do not use any spaces.
- 3). Click on the sound ID, which is right below the name of the object. A blue arrow will appear to the right of the sound ID. Click the arrow to open the minimenu.
- 4). Browse through your computer to find the song you want to use. Select the song and click "Open." A bunch of letters and numbers appear in the sound ID box --- do not erase any of these.
- 5). Click "Insert," "Object" and then "Script Object."
- 6). Type in the following:
c = script.Parent.yoursong:clone()
c.Parent = game.Workspace
c:play()
Change "yoursong" to the name you gave the sound object you created earlier. If you named the sound object "radiotwo," the first line of your script would be "c = script.Parent.radiotwo:clone().
Source...