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

How can I make a whole roblox song searcher?

Asked by 5 years ago

So Im trying to make a song with lots of songs, so players can choose which one they want. Ids kinda are annoying to look up and put in, so I was wondering how can I make a song searcher that searchs all the songs on roblox?

0
I'm unaware of anything that can do so, all that comes to mind is an HttpService proxy. I'm interested in what people will say too. Ziffixture 6913 — 5y
0
I would say InsertService, but it only lets you search models and decals. TerrodactyI 173 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

Hello!

You can use rprxy.xyz as a proxy to search for songs, usage can be found here: http://rprxy.xyz/proxy/api.html

As an example, you could use HttpService to send a request to the site.

local HttpService = game:GetService("HttpService");




function searchSong (name)
    local songs;

    local url = ("https://rprxy.xyz/proxy/api/searchmusic/%s"):format(name);
    local success = pcall(function()
        local response = HttpService:GetAsync(url);
        songs = HttpService:JSONDecode(response);
    end)

    return songs;
end

local foundSongs = searchSongs("Dubstep");
0
It says this website is not safe. CaptainD_veloper 290 — 5y
0
And how would I play the song? CaptainD_veloper 290 — 5y
0
And how would I play the song? CaptainD_veloper 290 — 5y
Ad

Answer this question