When successfully executed, these scripts provide the user with the full suite of HD Admin commands : How to Add HD Admin to Your Game in Roblox Studio (2025)

This script is designed for (FilteringEnabled), allowing an Owner or Head Admin to rank players, manage permissions, and execute admin commands with proper remote event handling.

if RankManager:CanPromote(executorRank, targetRank, newRankValue) then userRanks[targetUserId] = newRankValue print(player.Name .. " promoted " .. targetUserId .. " to " .. newRankName) -- Update leaderstats or Tag here else warn("Failed promotion attempt by " .. player.Name) end

Create a ModuleScript in ReplicatedStorage named RankManager .

An must operate through Remote Events and Remote Functions . Here is the basic logic flow:

-- Demote player function Ranker.Demote(executor, target) if not Ranker.IsOwner(executor) and not Ranker.IsHeadAdmin(executor) then return false end

if prevRank then Ranker.SetRank(executor, target, prevRank) return true end return false