Checking if a Group is locked or not

Rather than setting up a custom proxy you can just use an existing one like RoProxy and send a request to that right?

local httpService = game:GetService("HttpService");
local url = "https://groups.roproxy.com/v1/groups/%i";
local id = 1111;

local success, res = pcall(httpService.GetAsync, httpService, url:format(id));
if not success then
    warn(res);
    return;
end

local data = httpService:JSONDecode(res);
if data.publicEntryAllowed then
    print("Group is not locked")
else
    print("Group is locked")
end

I’m curious as in to why you went ahead and built a custom proxy.

1 Like