How would i add music in a game
In studio, go to Insert - Basic Objects - Sound. Then edit to sound ID
In Studio, right click Workspace, click insert basic object, and click sound. Find the ID of the sound you want to use (The numbers at the end of the link for the sound) then, go into the Properties of the sound and where it says Sound Id type in http://www.roblox.com/asset/?id={Type in the Id you found earlier here} Finally, insert a LocalScript in Starter GUI. In the Local Script, type in
Game.Workspace.Sound:Play()
If you renamed the sound something different, instead of writing sound obviously you would write whatever you called the sound. MAKE SURE THE LOCAL SCRIPT IS IN STARTER GUI!!! Hope it works! Please accept my answer if it does!
Try this put this in workspace and make it a script
local s = Instance.new("Sound") s.Name = "NameOfYourMusic" s.Pitch = 1.2 s.SoundId = "http://www.roblox.com/asset/?version=1&id=MusicID" s.Volume = 0.5 s.Looped = true s.archivable = false s.Parent = game.Workspace wait(5) s:play()