Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to search Roblox's Library In-game?

I want to search Roblox's library for audio with a search-term in a script, similar to Audio Visualiser by Dummiez.

I've read up on this a bit and it seems like it will require 3rd party stuff (example), though the answers were kind of ambiguous, so I'm not sure if my situation actually requires it. I want to avoid using anything outside Roblox Studio, just out of preference.

Is there any way to do this all in Roblox? If 3rd party stuff is required how would I do that exactly?

1 answer

✓ Accepted answer

I'm confused on if you are trying to actually search the catalog for the item or if you are trying to just play the specified audio when entered.

If you are looking for the second method, it's actually quite easy and it only requires you to change the id in the sound then play it.

Sound.SoundId = 'rbxassetid://'..SOUND_ID
Sound:Play()

3 comments

0

Yea, I've already implemented that, I want to search the library with a term like "Allstar" or "Music" then get the results, like https://catalog.roblox.com/v1/search/items/details?

0

You'd have to end up making a proxy and requesting information from it, which it then requests information from the Roblox API. It's actually really easy, I had no prior knowledge and I ended up writing one using Google App Scripts (which is free) and learned a lot with JavaScript.

0

I'll look into that, in the mean time ill accept your anwer, thank you.

This discussion is preserved as it was. New answers, comments, and votes are closed.