generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Game Design
Home Search
 

Re: Help Meh Plz (Posted by WeepingAngelOnRoblox)

Previous Thread :: Next Thread 
WeepingAngelOnRoblox is not online. WeepingAngelOnRoblox
Joined: 02 Aug 2015
Total Posts: 42
01 Oct 2015 03:28 AM
i can't go on youtube (my parents won't let meh) so i can ask here,

HOW DO U PUT MUSIC IN UR GAMES? and how do u make playlists? I'm looking to make a Peacful sound for 'the Friend canopy' COMING SOON!
Report Abuse
Faisal1207 is not online. Faisal1207
Joined: 27 Dec 2013
Total Posts: 499
01 Oct 2015 05:05 AM
I don't think this is the place for you to ask but, you just go on ROBLOX Librariry by: Clicking -Develop up where games and catalog etc are then click librariry which will pop up(if something else comes up, go down until you see a small sentence reading -Go to develop page-) then on librairy choose sound, when you find the sound you want, copy the umbers on the end for example http://www.roblox.com/Forum/AddPost.aspx?PostID=17529026
copy the numbers.After that go to your game, insert an instance named sound, in that sound, go on properties and paste your numbers from before in. For making it play at specific times, you will need slight scripting knowledge.
Report Abuse
WeepingAngelOnRoblox is not online. WeepingAngelOnRoblox
Joined: 02 Aug 2015
Total Posts: 42
01 Oct 2015 04:47 PM
How do insert the music once i have it? Where in Roblox studio? ill have a look around.
Report Abuse
Faisal1207 is not online. Faisal1207
Joined: 27 Dec 2013
Total Posts: 499
02 Oct 2015 02:39 AM
Insert a "Sound" instance. Go to -View, then on view click "Advanced Objects", when it pops up, in the search bar of the Advanced Object pop up, search "Sound", when you see sound insert it to your game. Then go back to view and open -Properties

In properties insert those numbers i told you to get into "SoundId:"
for example When im in properties, i find SoundId i then insert: 12345678(< Not a real code, just the numbers i told you to find)
And then set "Looped" to true, if you want it to play again and again, specially wanting it to play when something happens requires slight scripting knowledge.

If you didn't understand that, use this script, and parent it to workspace:

snd = Instance.new("Sound", game.Workspace)

if snd

then snd.SoundId = "Your numbers here, aka Id"

snd.Looped = true
snd:Play()

end

end
-- This script will loop it forever, no selection whatsoever.

Report Abuse
Faisal1207 is not online. Faisal1207
Joined: 27 Dec 2013
Total Posts: 499
02 Oct 2015 02:44 AM
And you can't find "Advanced objects" in view sorry, just right click the upper panel "The one with all the tools etc, right click empty space. And then click "Advanced Objects"
And then follow my other guide from there.
You can also change the pitch, he volume etc in sounds properties.

snd = Instance.new("Sound", game.Workspace)

if snd

then snd.SoundId = "Your numbers here, aka Id"

snd.Looped = true
snd:Play()

end
--Oops two ends, sorry.

Good luck!
Report Abuse
Faisal1207 is not online. Faisal1207
Joined: 27 Dec 2013
Total Posts: 499
02 Oct 2015 03:28 AM
And for playlist, i assume you want it to play your songs randomly, instead of looping one sound?

sndmodel = game.Workspace.MyPlaylist

function onEnterSnd()

local loadsnd = sndmodel:GetChildren()
local choosensnd = math.random(#loadsnd, 1)
choosensnd:Play()

choosensnd.Ended:connect(onEnterSnd)

end

game.Players.PlayerAdded:connect(onEnterSnd)

--Haven't tested sorry.
Report Abuse
Faisal1207 is not online. Faisal1207
Joined: 27 Dec 2013
Total Posts: 499
02 Oct 2015 03:55 AM
I tested just now, sorry for mistake, again.

--Assumes you have a model named MyPlaylist in workspace

sndmodel = game.Workspace.MyPlaylist

function onEnterSnd()

local loadsnd = sndmodel:GetChildren()
math.random(tick())
local choosensnd = loadsnd[math.random(1,#loadsnd)]

choosensnd:Play()

choosensnd.Ended:connect(onEnterSnd)

end

game.Players.PlayerAdded:connect(onEnterSnd) --Change event to when you want the music player to play, when a brick is touched, mouse is clicked etc, by changing the even "PlayerAdded", but then you have to know some scripting.

Final post and Good luck!
Report Abuse
WeepingAngelOnRoblox is not online. WeepingAngelOnRoblox
Joined: 02 Aug 2015
Total Posts: 42
02 Oct 2015 10:05 PM
Oh, My, Lord.
Report Abuse
Faisal1207 is not online. Faisal1207
Joined: 27 Dec 2013
Total Posts: 499
03 Oct 2015 08:38 AM
Just go on my profile and use the model"MyPlaylist" which i made.
And then insert your own sounds. Will play random sounds whenever you enter your place.
Report Abuse
WeepingAngelOnRoblox is not online. WeepingAngelOnRoblox
Joined: 02 Aug 2015
Total Posts: 42
08 Dec 2016 07:01 PM
Thanks a tonnnnnnnnn
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image