I made a script that successfully gets a list of games from a player’s favorites page and outputs the Universe Ids of said games. The only issue is that I need the Place Id, and nothing seems to allow me to do that.
![]()
Attempting to get the Place Id via .PlaceId outputs nil, which as of now due to me being pretty new to all of this is the only way I know how to get the Place Id. The script also suffers from some other issues, I occasionally get this error:
I also can only seem to get up to 500 Universe Ids, which is a problem because I will need a much bigger list for what I am using this for.
The code to my script:
local Game = game
local HttpService = Game:GetService("HttpService")
local gameids = {}
local BaseUrl = "https://www.roproxy.com/users/favorites/list-json?assetTypeId=9&itemsPerPage=2000&pageNumber=1&userId=7597220565"
local data = HttpService:JSONDecode(HttpService:GetAsync(BaseUrl))
for _, Favorite in ipairs(data.Data.Items) do
table.insert(gameids, Favorite.Item.UniverseId)
end
print(#gameids)
print((gameids[1]))
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.