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

How do I put music in my games?

Im looking for something like put a roblox music code somewhere and it will play the music in game.

1 answer

✓ Accepted answer

Hello, AncientROBOBOT!

Use this script to make a sound play!

local sound = 00000 -- Sound ID Here!
local SoundBlock

SoundBlock = Instance.new("Sound")
SoundBlock.SoundId = "http://www.roblox.com/asset/?id=" .. sound
SoundBlock.Parent = game.Workspace
SoundBlock:Play()

Good Luck with your games!

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