local function lol(plr, thing)
wait()
local ij = game.HttpService:GetAsync("https://search.roblox.com/catalog/json?CatalogContext=2&Category=9&Keyword=" .. thing .. "&SortType=0&ResultsPerPage=50")
local ok = game.HttpService:JSONDecode(ij)
for i,v in pairs(ok) do
wait()
print(v.AssetId)
end
end
game.ReplicatedStorage.RemoteFunction.OnServerInvoke = lol
They don’t let you use their API Directly from Roblox Servers, because Roblox Servers have access to some APIs which aren’t given access to everyone, and if someone maliciously did a request, it can effect their servers.