Documentation
Roblox Module

RankGun Module Script

️🚫

NEVER expose your API key in scripts that are visible to the client.

To simplify your experience, we've developed a module full of functionalities, including methods for promoting, setting ranks, and demoting. View the example script down below to get started:

Feel free to contribute here (opens in a new tab) 💖.

--[[
Example of how somebody can use the RankGun module for simple actions.
 
This script will promote the user, set their rank to the role ID "2", and then demote.
]]--
 
local module = require(15764237093)
 
local myBot = module.Bot.new("UhKa56RKO7U0SzN5UbvVinWFYhIWlU", 1) --API KEY, WORKSPACE ID
 
myBot:promote(4668712033)
myBot:setRank(4668712033,2)
local demotion = myBot:demote(4668712033)
 
print(demotion)
print(demotion.status_code)