|
| 25 Oct 2016 02:07 PM |
| How do I play an audio from the catalog using only script? |
|
|
| Report Abuse |
|
|
Soybeen
|
  |
| Joined: 17 Feb 2010 |
| Total Posts: 21462 |
|
|
| 25 Oct 2016 02:12 PM |
Insert a blank sound, put a script into that sound, and then have the script say something like:
script.Parent.SoundId = "rbxassetid://"..99999 -- replace the 9's with your sounds asset ID in the catalog
|
|
|
| Report Abuse |
|
|
Meowth552
|
  |
| Joined: 17 Dec 2009 |
| Total Posts: 2181 |
|
|
| 25 Oct 2016 02:16 PM |
From a script: script.Parent.Sound:Play() (As long as there is a sound in the part where the script is.)
From the sound itself: Check the "Playing" option. |
|
|
| Report Abuse |
|
|
|
| 25 Oct 2016 02:16 PM |
| how do I play that sound from separate script (like a main script) |
|
|
| Report Abuse |
|
|
| |
|