|
| 13 Jul 2016 08:08 PM |
I'm trying to add a lot of sounds to my game, and I want them to all be in a centralized object.
Would it be a better idea to put all of my sound ids in a module in replicated storage, or just put a bunch of sound instances in replicated storage.
or alternatively
Put all of my sounds on the server-side in serverscriptservice using one of the methods mentioned above.
Thanks! |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2016 07:56 PM |
| Should I not use a module? |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2016 07:57 PM |
local sounds = { ["Kill"] = 123123 ["Death"] = 123123}
humanoid.died soundID = sounds.Death sound:Play() end)
r+://393244197r+://393244224r+://393244262 |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2016 07:57 PM |
It doesn't really matter where you put the sounds. But if you put them in the workspace, make sure they aren't set to play automatically!
|
|
|
| Report Abuse |
|
|