local M=require((game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")).RankCache)local g=M:GetPlayerRank(game.Players.Player1,1234)local b=M:GetPlayerRole(game.Players.Player1,1234)local h=M:GetPlayerRank(game.Players.Player2)local t=M:GetPlayerRole(game.Players.Player2)
--[[
    This script outlines basic uses of the RankCache library.
]]

local rankCache = require(game:GetService('ReplicatedStorage').RankCache)

-- Fetches Player1's rank for group 1234
local player1Rank = rankCache:GetPlayerRank(game.Players.Player1, 1234)

-- Fetches Player1's role for group 1234
local player1Role = rankCache:GetPlayerRole(game.Players.Player1, 1234)

-- Fetches Player2's rank for the configured default group
local player2Rank = rankCache:GetPlayerRank(game.Players.Player2)

-- Fetches Player2's role for the configured default group
local player2Role = rankCache:GetPlayerRole(game.Players.Player2)