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
 

Playing Audio

Previous Thread :: Next Thread 
hamburger621 is not online. hamburger621
Joined: 20 Apr 2013
Total Posts: 845
25 Oct 2016 02:07 PM
How do I play an audio from the catalog using only script?
Report Abuse
Soybeen is not online. 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 is not online. 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
hamburger621 is not online. hamburger621
Joined: 20 Apr 2013
Total Posts: 845
25 Oct 2016 02:16 PM
how do I play that sound from separate script (like a main script)
Report Abuse
hamburger621 is not online. hamburger621
Joined: 20 Apr 2013
Total Posts: 845
25 Oct 2016 02:18 PM
oop wait I see now
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