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 » Scripting Helpers
Home Search
 

Re: Ambient noises?

Previous Thread :: Next Thread 
deaththekid4040 is not online. deaththekid4040
Joined: 23 Apr 2011
Total Posts: 2957
04 Oct 2013 09:09 PM
Say I want some wind, how would I do so?
Report Abuse
As8D is online. As8D
Joined: 24 Dec 2009
Total Posts: 2907
05 Oct 2013 06:17 AM
1) Search the Catalog for the sound you want.
2) Insert a Sound either using a script or View > Basic Objects or Right Click > Basic Objects.
3) Set the SoundId to http://www.roblox.com/asset/?id= followed by the ID parameter in the URL of your sound.

4) To play sounds, you need to use a Script (or LocalScript if you're doing stuff client-sided):
a - Locate your Sound, for example game:service("SoundService").Sound
b - Find out when you want it to play (as the script you're making will ex. only play the sound when it's night or something)
c - When all this is decided, we say 'sound' is your Sound object, and then you do sound:Play()


If you want some documentation on what you can do, go here:
http://wiki.roblox.com/index.php/Sound

If you're completely lost at how object-oriented programming works, try take a look here:
http://wiki.roblox.com/index.php/Absolute_beginner%27s_guide_to_scripting
http://wiki.roblox.com/index.php/Basic_Scripting
http://wiki.roblox.com/index.php/How_to_Script_Anything

ect.


- As, Have f... no, don't have fun! Suffer! please!
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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