Hi, I'm currently trying to build a game to attract more members to my group (by having Shedletsky eat a bowl full of all the members or something strange like that.), and I was wondering, is it currently possible to get all members in a group? If not, how can I set up a server to do this for me?
Please don't mark this as a 'request', I'm not asking anybody to write code for me, simply give me some clearance.
Do a little research, this is literally from the Dev...but I think getgroupasync is what you’re looking for.
local groupId = 123456 local group = game:GetService("GroupService"):GetGroupInfoAsync(groupId) print(group.Name .. " has the following roles:") for _, role in ipairs(group.Roles) do print("Rank " .. role.Rank .. ": " .. role.Name) end