Alternative for InsertService:GetUserSets()

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!

I wanted an alternative method for game:GetService(“InsertService”):GetUserSets(userid)

  1. What is the issue? Include screenshots / videos if possible!

Gives Error LuaWebService error

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

i have tried searching youtube and devforum but havent got any solutions

game:GetService("InsertService"):GetUserSets(223)

you can visit a website https://sets.pizzaboxer.xyz/

This is an archive of every Roblox set created until approximately June 2016, with some until November 2018. All the data here was archived between May 22nd 2022 and June 1st 2022, with about 1.1 million sets archived.

local function GetUserSets(userId)
    local HS = game:GetService("HttpService")
    local dt = HS:GetAsync("https://sets.pizzaboxer.xyz/api/users..tostring(userid))
    local data = HS:JSONDecode(dt)

    return data
end

This will only work for the users that have owned at least one set .It has also only captured usernames during the archive period.

2 Likes

Noticed you never got an answer. Hopefully you already did, but if you didn’t, this is because GetUserCategories and GetUserSets has been deprecated and no longer works.