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

How can I make a whole roblox song searcher?

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?

2 comments

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.

0

I would say InsertService, but it only lets you search models and decals.

1 answer

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");

3 comments

0

It says this website is not safe.

0

And how would I play the song?

0

And how would I play the song?

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