Colbie988
|
  |
| Joined: 03 Mar 2012 |
| Total Posts: 885 |
|
|
| 19 Dec 2012 12:58 AM |
Hey I'm new to this and I do bot know a single thing about scripting these. So, can I just simply play an audio created by Roblox by Insert>Object>Sound and inserting the SoundID? If not, what would be the proper way to do it? |
|
|
| Report Abuse |
|
|
Colbie988
|
  |
| Joined: 03 Mar 2012 |
| Total Posts: 885 |
|
| |
|
jrroblox
|
  |
| Joined: 18 Jan 2009 |
| Total Posts: 62 |
|
|
| 19 Dec 2012 01:05 AM |
Insert a sound into the workspace. Give it the id you want.
local sound = game.Workspace.Sound sound:Play() |
|
|
| Report Abuse |
|
|
Colbie988
|
  |
| Joined: 03 Mar 2012 |
| Total Posts: 885 |
|
| |
|
jrroblox
|
  |
| Joined: 18 Jan 2009 |
| Total Posts: 62 |
|
|
| 19 Dec 2012 01:51 AM |
| Look at the properties of the sound. Check loop. |
|
|
| Report Abuse |
|
|
Colbie988
|
  |
| Joined: 03 Mar 2012 |
| Total Posts: 885 |
|
| |
|
Colbie988
|
  |
| Joined: 03 Mar 2012 |
| Total Posts: 885 |
|
|
| 19 Dec 2012 02:54 AM |
@jrroblox This only works in the Studio doesn't it? I spent 30 minutes picking and checking out the musics by Roblox and after publishing it, I entered and there's no music at all D: Do I need to insert it into a script or a local one? Maybe an OnPlayerEntered? |
|
|
| Report Abuse |
|
|
Colbie988
|
  |
| Joined: 03 Mar 2012 |
| Total Posts: 885 |
|
| |
|
Colbie988
|
  |
| Joined: 03 Mar 2012 |
| Total Posts: 885 |
|
| |
|
TheStalkr
|
  |
| Joined: 22 Mar 2011 |
| Total Posts: 37 |
|
|
| 19 Dec 2012 07:11 AM |
| Where is the sound object located? Workspace? |
|
|
| Report Abuse |
|
|
Colbie988
|
  |
| Joined: 03 Mar 2012 |
| Total Posts: 885 |
|
|
| 19 Dec 2012 05:35 PM |
@jrroblox Do u mean after inserting the sound object, then the script. Wait for at least 10 secs b4 playing? Then publish/save rite?
Do i need to redo all the steps? cuz I already have the sound and script. |
|
|
| Report Abuse |
|
|
Colbie988
|
  |
| Joined: 03 Mar 2012 |
| Total Posts: 885 |
|
| |
|