Roblox Developer Packages
Easy-to-integrate modules for your Roblox game, built on the Ranking API
BloxTech API Client
7
🎉 You did it!
local BloxTech = require(game.ServerStorage.BloxTechAPI)
local BloxTechClient = BloxTech.new()Update member rank
BloxTechClient:setRank(8460964972, 1)
:andThen(function(response)
-- Runs when the rank has been updated successfully
print("Success", response)
end)
:catch(function(response)
-- Runs when the rank couldn't be updated
-- eg. because they already have this rank
warn("Error", response)
end)Accept Join Request
BloxTechClient:acceptJoinRequest(8460964972)
:andThen(function(response)
-- Runs when the join request has been accepted successfully
print("Success", response)
end)
:catch(function(response)
-- Runs when the request couldn't be accepted
-- eg. because they haven't sent any request yet
warn("Error", response)
end)Reject Join Request
BloxTechClient:rejectJoinRequest(8460964972)
:andThen(function(response)
-- Runs when the join request has been rejected successfully
print("Success", response)
end)
:catch(function(response)
-- Runs when the request couldn't be rejected
-- eg. because they haven't sent any request yet
warn("Error", response)
end)Last updated
Was this helpful?




