function GroupService.GetRoleInGroupAsync(I,d,y)for d,I in ipairs(GroupService:GetGroupsAsync(d))do if I.Id==y then return I.Role end end return DEFAULT_ROLE end
--[[**
	Gets the player's role in the given group.
	@param [Instance<Player>] Player The player you are checking for. Can also be their UserID.
	@param [Integer] GroupID The ID of the group you are checking role in.
	@returns [String] The player's role.
**--]]
function GroupService:GetRoleInGroupAsync(Player, GroupID)
	for _, Group in ipairs(GroupService:GetGroupsAsync(Player)) do
		if Group.Id == GroupID then
			return Group.Role
		end
	end

	return DEFAULT_ROLE
end
