Here's an example script on the implementation of the Roblox Module.
local Ranking = require(4754168383) -- Require the modulelocal Token = "TOKEN" -- Replace TOKEN with your Tokenlocal Callback = Ranking.SetRank(Token, PLAYER-USER_ID, GROUPID, RANKID)if Callback.Success == true then-- Ranking Succeededelse-- Ranking failedend
Simply edit the
Tokenvariable to be your token and use your own Player User ID, Group ID and Rank ID when invoking the command.
For each reference in a singular script, you only need line 4 and below, as the top two lines are used to initiate the system.
Though the require() module is open source, we don't advise using your own version, as you may lose out on updates and functionality may stop at any point.