Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I put music in my games? [closed]

Asked by 6 years ago

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

Closed as Not Constructive by minikitkat

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by
Leamir 3138 Moderation Voter Community Moderator
6 years ago
Edited 6 years ago

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!

Ad