Last night I’ve noticed that my account appears to be “bugged” when it comes to group calls and this is happening to all Roblox games (even ones I don’t even own) that uses the :IsInGroup & :GetRankInGroup functions.
This is a roblox bug they have somehow concocted when changing stuff without checking like usual.
As a workaround for now you could try using the web apis. I’ve attached some sample functions on how to use them below.
local HttpService = game.HttpService
local function isInGroup(userid, groupid)
local data = {}
xpcall(function(...)
data = HttpService:JSONDecode(HttpService:GetAsync(string.format("https://groups.roproxy.com/v2/users/%s/groups/roles", userid))).data
end, warn)
for _, group in data do
if group.group.id == groupid then return true end
end
return false
end
local function getRankInGroup(userid, groupid)
local data = {}
xpcall(function(...)
data = HttpService:JSONDecode(HttpService:GetAsync(string.format("https://groups.roproxy.com/v2/users/%s/groups/roles", userid))).data
end, warn)
for _, group in data do
if group.group.id == groupid then return group.role.rank end
end
return 0
end
To get around the HttpService not being able to make requests to roblox.com, I’m using RoProxy, but you can use a different proxy if you like.