Fe Owner Amp- Head Admin Ranker Script- ✯ 【Premium】

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

if not Ranks[rankName] then return false end

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

-- Check if player is Head Admin or above function Ranker.IsHeadAdmin(player) local rank = Ranker.GetPlayerRank(player) return rank >= Ranks["Head Admin"] end FE Owner amp- Head Admin Ranker Script-

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

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

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

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

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

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

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

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



Web exclusiva para mayores de edad. Todas las personas eran mayores de edad a la hora de producirse las películas.
Aviso legal y privacidad | Política de cookies
+18 años
SOLO MAYORES DE EDAD
El sitio al que estás accediendo contiene material pornográfico y su acceso solo está permitido a mayores de edad. También usamos cookies para mejorar la navegación. Este sitio web no almacena ni registra datos personales de ningún tipo.
Configurar cookies
Configura las cookies de este sitio
  • Necesarias
    • Publicidad
      • Cookie:
      • Cookie:
      • Cookie:
    • Rendimiento
      • Analíticas
        • Cookie:
      • Funcionalidad
        • Sin Clasificar