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 » ROBLOX Studio
Home Search
 

Re: Audio

Previous Thread :: Next Thread 
DJXTR3M3 is not online. DJXTR3M3
Joined: 23 Dec 2013
Total Posts: 1453
30 Jul 2014 07:25 PM
I don't know why, but for some reason I can't find where to add "Audio".

Could someone tell me where I can find it in roblox studio? Thanks!
Report Abuse
gogogama is not online. gogogama
Joined: 09 Feb 2013
Total Posts: 238
30 Jul 2014 07:30 PM
The audio object is called "Sound."
Report Abuse
DJXTR3M3 is not online. DJXTR3M3
Joined: 23 Dec 2013
Total Posts: 1453
30 Jul 2014 07:33 PM
Also, when it comes to adding the SoundId, how exactly do I do so?

Thanks by the way!
Report Abuse
gogogama is not online. gogogama
Joined: 09 Feb 2013
Total Posts: 238
30 Jul 2014 07:36 PM
The sound ID would be:
http://www.roblox.com/asset/?id= ID of the sound here

To make the audio play, simply insert a LocalScript into the StarterGui folder that says:
Game.Workspace.Sound:Play()
Report Abuse
DJXTR3M3 is not online. DJXTR3M3
Joined: 23 Dec 2013
Total Posts: 1453
30 Jul 2014 07:50 PM
Ok so the Local Script is like this:

1 Game.Workspace.Sound:Play()

I dragged into the StarterGui and the StarterGui is it's parent.

Is there anything that needs to be in the "LinkedSource"? (Like the "Sound"?)

Also, In "Sound"

"IsPaused" is checked, not "IsPlaying" and it's all grey and won't let me check IsPlaying. Is that something I should be concerned about?
Report Abuse
DJXTR3M3 is not online. DJXTR3M3
Joined: 23 Dec 2013
Total Posts: 1453
30 Jul 2014 07:52 PM
The "1" being the first line in the script. As I believe it should be
Report Abuse
gogogama is not online. gogogama
Joined: 09 Feb 2013
Total Posts: 238
30 Jul 2014 07:53 PM
I believe you've done everything correctly. The sound should start playing as soon as you enter the game, so try testing it out in Play Solo mode.
Report Abuse
DJXTR3M3 is not online. DJXTR3M3
Joined: 23 Dec 2013
Total Posts: 1453
30 Jul 2014 07:55 PM
Thanks! :D
Report Abuse
DJXTR3M3 is not online. DJXTR3M3
Joined: 23 Dec 2013
Total Posts: 1453
30 Jul 2014 08:01 PM
One more thing, what would I do if I were to add a second sound?

Why I ask is that then there would be two LocalScripts in the StarterGui saying the same thing, but for two different sounds. So I don't know if one will cancel out the other, or if neither work or what.
Report Abuse
gogogama is not online. gogogama
Joined: 09 Feb 2013
Total Posts: 238
30 Jul 2014 08:06 PM
I'm not a scripter, so you might have to move on to Scripting Helpers.
Sorry.
Report Abuse
DJXTR3M3 is not online. DJXTR3M3
Joined: 23 Dec 2013
Total Posts: 1453
30 Jul 2014 08:07 PM
No it's ok. Thanks for your help anyways! :)
Report Abuse
DJXTR3M3 is not online. DJXTR3M3
Joined: 23 Dec 2013
Total Posts: 1453
30 Jul 2014 08:18 PM
Go to this link for more info:
http://www.roblox.com/Forum/ShowPost.aspx?PostID=142124159 (Scripting Helpers Forum)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » ROBLOX Studio
   
 
   
  • 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