Dulexo
|
  |
| Joined: 07 Mar 2015 |
| Total Posts: 32755 |
|
|
| 30 Sep 2013 05:02 AM |
How do you insert a sound? I know you can use the URL, but I have it as a file, and it says you could insert one, but I can't find the option for it. |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2013 05:24 AM |
http://www.roblox.com/asset?id=SOUNDIDHERE
Go to your Audio file on Roblox. Copy the id and replace it with SOUNDIDHERE. |
|
|
| Report Abuse |
|
|
Dulexo
|
  |
| Joined: 07 Mar 2015 |
| Total Posts: 32755 |
|
|
| 30 Sep 2013 05:36 AM |
| I already did all of those, lelel |
|
|
| Report Abuse |
|
|
Dulexo
|
  |
| Joined: 07 Mar 2015 |
| Total Posts: 32755 |
|
|
| 30 Sep 2013 05:49 AM |
And it doesn't work. I placed the sound in with the ID, then inserted LocalScript into workspace, and put in soundplay, and doesn't work. >..> |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2013 06:01 AM |
| LocalScripts don't function in workspace. What is soundplay? |
|
|
| Report Abuse |
|
|
Dulexo
|
  |
| Joined: 07 Mar 2015 |
| Total Posts: 32755 |
|
| |
|
|
| 30 Sep 2013 06:10 AM |
| soundplay is a script..ok..WHAT IS INSIDE THE FREAKING SCRIPT?? |
|
|
| Report Abuse |
|
|
Dulexo
|
  |
| Joined: 07 Mar 2015 |
| Total Posts: 32755 |
|
|
| 30 Sep 2013 06:11 AM |
game.workspace.sound.play something like that, lol i thought youd already know this
LELD |
|
|
| Report Abuse |
|
|
Dulexo
|
  |
| Joined: 07 Mar 2015 |
| Total Posts: 32755 |
|
|
| 30 Sep 2013 06:14 AM |
| k i used a reg script in workspace and no sound but when i checked the sound in solo, the Play was marked so obviously something is wrong with roblox ok |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2013 06:17 AM |
something like that --------------------------------------- Be specific, a single difference in the code and your script could go wrong. |
|
|
| Report Abuse |
|
|
Dulexo
|
  |
| Joined: 07 Mar 2015 |
| Total Posts: 32755 |
|
|
| 30 Sep 2013 06:20 AM |
[on line1---] game.Workspace.Sound:Play()
[sound---] http://www.roblox.com/asset?id=131255749
And yeah... When I go into solo mode, I see the sound has checked " Play " but no sound. |
|
|
| Report Abuse |
|
|
Dulexo
|
  |
| Joined: 07 Mar 2015 |
| Total Posts: 32755 |
|
|
| 30 Sep 2013 06:21 AM |
| I got it working, doesn't work in solo for some reason, but works when I use test. |
|
|
| Report Abuse |
|
|
Dulexo
|
  |
| Joined: 07 Mar 2015 |
| Total Posts: 32755 |
|
|
| 30 Sep 2013 06:28 AM |
| Is there a local script [not LocalScript] that I can put in as in Parent.Parent.Sound.Play(), would that work? |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2013 06:31 AM |
is there a local script
----------- 'local' script? As in a local var in a function? or a script defined in an environment(script)
or an value of an ObjectValue??
define local. |
|
|
| Report Abuse |
|
|
Dulexo
|
  |
| Joined: 07 Mar 2015 |
| Total Posts: 32755 |
|
|
| 30 Sep 2013 06:33 AM |
As in, inside the script, not going through workspace to find the object, ie: workspace.script12345 instead using parent.parent.child.script12345 |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2013 06:34 AM |
| Yes. and, don't call it local. Call it as a children of an object. |
|
|
| Report Abuse |
|
|
Dulexo
|
  |
| Joined: 07 Mar 2015 |
| Total Posts: 32755 |
|
|
| 30 Sep 2013 06:35 AM |
rite rite
now what would it be
Script.Parent.Sound.Play()
?
Or would Script.Child.Sound.Play() |
|
|
| Report Abuse |
|
|
maxomega3
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
|
| 30 Sep 2013 06:38 AM |
script.Sound:Play () You can't call a "child" because there could be more than one child. Also you use ":" when telling it to do something. |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2013 06:39 AM |
If sound is child of script then do this: script.Sound:Play() if sound is script's siblings(they share the same parent) then do this: script.Parent.Sound:Play() if sound is script's parent then do this: script.Parent:Play() |
|
|
| Report Abuse |
|
|
Dulexo
|
  |
| Joined: 07 Mar 2015 |
| Total Posts: 32755 |
|
|
| 30 Sep 2013 06:44 AM |
Ah yes, there we go, thank you.
Now if I use one of those old ROBLOX sirens made years ago when they allowed sounds, and removed all the bricks except the buttons, would those work with the sound, or did they use a different sound type back then, or somethin.. |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2013 06:50 AM |
when they allowed sounds --------------------------- wut? sounds are allowed, and were never banned.
And, make your own sounds. Stahp free modelin |
|
|
| Report Abuse |
|
|
Dulexo
|
  |
| Joined: 07 Mar 2015 |
| Total Posts: 32755 |
|
|
| 30 Sep 2013 06:53 AM |
| OMG U HAVE NO PROFO GET OU T!Q!~!!!!!!! |
|
|
| Report Abuse |
|
|