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 » Scripters
Home Search
 

Re: Designing a sound system

Previous Thread :: Next Thread 
KAMIKAZEPOLO is not online. KAMIKAZEPOLO
Joined: 14 Mar 2012
Total Posts: 1049
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
KAMIKAZEPOLO is not online. KAMIKAZEPOLO
Joined: 14 Mar 2012
Total Posts: 1049
15 Jul 2016 07:56 PM
Should I not use a module?
Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
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
OldROBLOXFan12345 is not online. OldROBLOXFan12345
Joined: 16 Jun 2016
Total Posts: 24
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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