I'm makeing a scary game and i need music to go with it. Can you help me with this?
COMMUNITY QUESTION
How do i play music on my game?
3 answers
1. Insert a sound into Workspace
2. Click on sound, then notice a SoundId, Change the SoundId to: rbxassetid://Paste Sound Id here
3. clock on the sound again, scroll down in properties (MUST HAVE PROPERTY TAB OPEN) Can Check the Looped Property.
4. Insert a script into the sound. Copy and paste This script into that script:
script.Parent:Play()
Adding to Hybrics answer,
you can also play local sounds to player in the Player's PlayerGui.
Have a look at the Sound Object on the Official Roblox Wiki, it handles all audio-related game functionality such as effects, background music, playing and stopping, etc...
This discussion is preserved as it was. New answers, comments, and votes are closed.
