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: Get Random Sounds

Previous Thread :: Next Thread 
LuaLlama is not online. LuaLlama
Joined: 25 Jan 2014
Total Posts: 1123
09 May 2015 09:10 PM
So, I wanted to make a script that gets random Sound ids form roblox... any ideas?
Report Abuse
LuaLlama is not online. LuaLlama
Joined: 25 Jan 2014
Total Posts: 1123
09 May 2015 09:10 PM
From*
Report Abuse
LuaLlama is not online. LuaLlama
Joined: 25 Jan 2014
Total Posts: 1123
09 May 2015 09:16 PM
Flump


"Hi, I love llamas." - LuaLlama
Report Abuse
kubuto2 is not online. kubuto2
Joined: 16 Jul 2008
Total Posts: 1275
09 May 2015 09:20 PM
Your going to have to use this a for loop through the catalog to check if it is a sound.

Your going to need this to tell if the asset is a sound.

http://wiki.roblox.com/index.php?title=API:Class/MarketplaceService/GetProductInfo

Your going to need this to get the iterate through the catalog ids
--the maxId should be the latest added item
-- the minId probably should only be only 40000 less then the max.

for i = minId, maxId do
-- use this
-- lol
-- have fun
--check if it is public domain and if it is a song with the link above.
--insert it with http://wiki.roblox.com/index.php?title=API:Class/InsertService/LoadAsset
end
Report Abuse
AbstractMadness is not online. AbstractMadness
Joined: 22 Dec 2014
Total Posts: 20425
09 May 2015 09:31 PM
HttpService is easier.
Report Abuse
kubuto2 is not online. kubuto2
Joined: 16 Jul 2008
Total Posts: 1275
09 May 2015 09:36 PM
Are you kidding me? The Marketplace service can get you everything you need from an asset without using a proxy.
Report Abuse
AbstractMadness is not online. AbstractMadness
Joined: 22 Dec 2014
Total Posts: 20425
09 May 2015 09:38 PM
you don't have access to a json catalog w/o httpservice and ur way is like ew
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