US Trends

how to get all roles in reysync roblox

To get all roles in a Roblox group like Reysync , use Roblox’s group role data rather than only the player’s top rank. The key method is GroupService:GetRolesInGroupAsync() for in-game scripts, or GetGroupInfoAsync() if you just need the group’s full role list.

What to use

  • player:GetRoleInGroup(groupId) returns only the player’s main role, not every role they may have.
  • GroupService:GetRolesInGroupAsync() is the better fit when you want the full set of roles available in a group.
  • GetGroupInfoAsync() also exposes the group’s roles and rank values, which is useful if you want to loop through them.

Simple approach

If your goal is to show or check all roles in Reysync, the usual pattern is:

  1. Get the group info.
  2. Read the roles list from the result.
  3. Loop through each role and store or display it.

Example idea:

lua

local groupInfo = groupService:GetGroupInfoAsync(groupId)
for _, role in ipairs(groupInfo.Roles) do
	print(role.Name, role.Rank)
end

If you mean player roles

If you want to know which roles a specific player has in the group, GetRoleInGroup() is not enough because it only gives one role. Roblox’s newer group role system supports multiple roles, so you need the roles-in- group approach instead.

Practical note

For a game script, use Roblox’s built-in group API first. Avoid random proxy sites unless you have no other option, because they can add security and reliability issues.

TL;DR

Use GroupService:GetRolesInGroupAsync() or GetGroupInfoAsync() to fetch every role in the Reysync Roblox group, then loop through the returned roles. GetRoleInGroup() only gives one role per player.