Fe Owner Amp- Head Admin Ranker Script- Online

-- Check if player is owner function Ranker.IsOwner(player) return player.UserId == OwnerId end

target:SetAttribute("AdminRank", rankName) return true end

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

-- Get player's current rank function Ranker.GetPlayerRank(player) local data = player:GetAttribute("AdminRank") return data and Ranks[data] or Ranks["Default"] end FE Owner amp- Head Admin Ranker Script-

remote.OnServerEvent:Connect(function(player, command, args) if Ranker.IsOwner(player) or Ranker.IsHeadAdmin(player) then -- Execute command logic if command == "rank" then local target = game.Players:FindFirstChild(args[1]) if target then Ranker.SetRank(player, target, args[2]) end end end end)

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

-- Promote player function Ranker.Promote(executor, target) if not Ranker.IsOwner(executor) and not Ranker.IsHeadAdmin(executor) then return false end -- Check if player is owner function Ranker

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

-- Remote command handler (optional FE remote) local remote = Instance.new("RemoteEvent") remote.Name = "AdminCommand" remote.Parent = game.ReplicatedStorage

if not Ranks[rankName] then return false end ["VIP"] = 1

for rank, value in pairs(Ranks) do if value == current - 1 then prevRank = rank break end end

-- Set player rank (Owner/Head Admin only) function Ranker.SetRank(executor, target, rankName) if not Ranker.IsOwner(executor) and not Ranker.IsHeadAdmin(executor) then warn("Permission denied") return false end

local current = Ranker.GetPlayerRank(target) local prevRank = nil

-- Configuration local OwnerId = 123456789 -- Change to your Roblox UserId local HeadAdminRank = "Head Admin" local Ranks = { ["Default"] = 0, ["VIP"] = 1, ["Moderator"] = 2, ["Admin"] = 3, ["Head Admin"] = 4, ["Owner"] = 5 }

¿Quieres acceder a contenido exclusivo?

¿Quieres acceder a contenido exclusivo?

Si te suscribes podrás recibir contenido exclusivo para suscriptores no accesible para el resto de usuarios. Solicita acceso ahora!

Has solicitado el acceso a la suscripción

Esta web utiliza cookies propias y de terceros para su correcto funcionamiento y para fines analíticos y para fines de afiliación y para mostrarte publicidad relacionada con sus preferencias en base a un perfil elaborado a partir de tus hábitos de navegación. Contiene enlaces a sitios web de terceros con políticas de privacidad ajenas que podrás aceptar o no cuando accedas a ellos. Al hacer clic en el botón Aceptar, acepta el uso de estas tecnologías y el procesamiento de tus datos para estos propósitos. Ver Política de cookies
Privacidad