Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to search Roblox's Library In-game?

Asked by
Benbebop 1049 Moderation Voter
3 years ago
Edited 3 years ago

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

Log in to vote
1
Answered by 3 years ago

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()
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? Benbebop 1049 — 3y
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. Nickuhhhhhhhhhhhhhhh 834 — 3y
0
I'll look into that, in the mean time ill accept your anwer, thank you. Benbebop 1049 — 3y
Ad

Answer this question