I want to check if the player userid is in a specific place. I’ve tried doing this with RoProxy but the placeId comes out as Null
Does anyone know a method how to check this? Or has a working API?
local API_URL = "https://api.roproxy.com/users/" .. Player_UserID .. "/onlinestatus/"
local Data = HttpService:GetAsync(API_URL)
Data = HttpService:JSONDecode(Data)
if Data.PlaceId == 11356220166 or Data.PlaceId == 11356217115 then -- Prints out as "Null"
local Status = {
"Playing",
Data2.isBanned,
Data2.displayName,
Data2.name
}
local Found = true
Recieve_StatusClient:FireClient(You, Player_UserID, Status ,Found)
end