What's new
Heapleak - Scripthub

Get the most out of HeapLeak by creating a free account! Once signed in, you’ll gain full access to restricted content, be able to share your own scripts, and participate in our member-only discussions.

Free admin

Version / Update: v1.0.0
Download / Script Link
-- Admin script with key access for Roblox Delta Executor

-- Define the correct key
local correctKey = "subscribe"

-- Function to check key input
local function checkKey(inputKey)
return inputKey == correctKey
end

-- Prompt user to enter key (this part would be manual input before executing)
local enteredKey = "subscribe" -- Replace this with your actual key input method if available

if not checkKey(enteredKey) then
print("Invalid key! Access denied.")
return
end

print("Access granted. Admin commands enabled.")

local Players = game:GetService("Players")

local admins = {
[game.Players.LocalPlayer.UserId] = true -- give admin to the executor user automatically
}

local function isAdmin(userId)
return admins[userId] ~= nil
end

-- Simple admin command via chat (only for the executor user)
local function onChatted(player, message)
if not isAdmin(player.UserId) then return end

local command, arg = message:match("^(%S+)%s*(.*)$")
if command == ":kill" and arg then
local targetPlayer = Players:FindFirstChild(arg)
if targetPlayer and targetPlayer.Character then
targetPlayer.Character:BreakJoints()
print("Killed player: " .. arg)
else
print("Player not found or no character.")
end
elseif command == ":tp" and arg then
local targetPlayer = Players:FindFirstChild(arg)
if targetPlayer and targetPlayer.Character and player.Character then
player.Character:SetPrimaryPartCFrame(targetPlayer.Character.PrimaryPart.CFrame)
print("Teleported to player: " .. arg)
else
print("Player not found or no character.")
end
elseif command == ":admin" then
print("Available commands: :kill [player], :tp [player]")
end
end

Players.LocalPlayer.Chatted:Connect(function(message)
onChatted(Players.LocalPlayer, message)
end)

print("Admin script loaded—use chat commands with prefix ':' if you have the key.")
[ View More ]
be3a39db-ef81-4eff-a7a3-b0744e56c82f.webp


admin script for some games.
 
Has Key System
  1. Yes
Works on mobile
  1. Yes
Back
Top