I have a problem to get the universeId from that jsontable i get from the API.
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local getgamesevent = game.ReplicatedStorage.Databases.SetGame
local HttpService = game:GetService("HttpService")
local function ongetgameFired(player, gamename)
local getgameurl = "https://games.rprxy.xyz/v1/games/list?StartRows=1&MaxRows=1&IsUserLoggedIn=true&NumberOfColumns=5&IsInHorizontalScrollMode=false&DeviceTypeId=1&Keyword=",gamename,"&AdSpan=0&AdAlignment=0&v=2&IsSecure=&UseFakeResults=False&SuggestedCorrection=none&SuggestionKeyword=&SuggestionReplacedKeyword=&QueryType=Bucketboost"
local response = HttpService:GetAsync(getgameurl)
local data = HttpService:JSONDecode(response)
local data2 = data.games.universeId
--incomplete
end
getgamesevent.OnServerEvent:Connect(ongetgameFired)

3 comments
player.UserId
You didn't understand correctly. I want to get universeId of gamename through roblox games API.
Idk, but i managed to do it by going trough the browser, not the Roblox API.