Back to Scripts
Jester bac0n gui HD admin
ScriptBlox
Universal
Free
Game: Universal Script 📌
128
Views
0
Likes
0
Dislikes
Jester_bac0n
offline
Features
Lol
Script Code
-- jester bac0n gui hd admin
-- Version: Organized Tabs + Prefixes + New Commands
-- by jester bac0n
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local LocalPlayer = Players.LocalPlayer
-- =========================
-- HD ADMIN REMOTE
-- =========================
local HDAdminRemote
pcall(function()
if ReplicatedStorage:FindFirstChild("HDAdminClient") then
HDAdminRemote = ReplicatedStorage.HDAdminClient.Signals.RequestCommand
end
end)
local function runCommand(cmd)
if HDAdminRemote then
HDAdminRemote:InvokeServer(cmd)
else
local chat = ReplicatedStorage:FindFirstChild("DefaultChatSystemChatEvents")
if chat then
chat.SayMessageRequest:FireServer(cmd, "All")
end
end
end
-- =========================
-- PREFIXES
-- =========================
local Prefixes = {":",";","/"}
local CurrentPrefix = ":"
-- =========================
-- LOAD RAYFIELD
-- =========================
local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield"))()
local Window = Rayfield:CreateWindow({
Name = "jester bac0n gui hd admin",
LoadingTitle = "jester bac0n gui",
LoadingSubtitle = "by jester bac0n",
ConfigurationSaving = { Enabled = false }
})
-- =========================
-- TABS
-- =========================
local PlayersTab = Window:CreateTab("Players", 4483362458)
local CommandsTab = Window:CreateTab("Commands", 4483362458)
local PunishTab = Window:CreateTab("Punish / Troll", 4483362458)
local EffectsTab = Window:CreateTab("Control / Effects", 4483362458)
local MiscTab = Window:CreateTab("Misc", 4483362458)
-- =========================
-- PLAYER LIST
-- =========================
local selectedPlayer = nil
local function getPlayers()
local list = {}
for _,plr in pairs(Players:GetPlayers()) do
table.insert(list, plr.Name)
end
return list
end
local PlayerDropdown
local function refreshPlayerList()
if PlayerDropdown then
PlayerDropdown:Refresh(getPlayers(), true)
else
PlayerDropdown = PlayersTab:CreateDropdown({
Name = "Select Player",
Options = getPlayers(),
CurrentOption = {getPlayers()[1]},
Callback = function(option)
selectedPlayer = option[1]
end
})
selectedPlayer = getPlayers()[1]
end
end
refreshPlayerList()
PlayersTab:CreateButton({
Name = "Refresh Player List",
Callback = refreshPlayerList
})
PlayersTab:CreateParagraph({
Title = "Info",
Content = "Select a player here.\nCommands will use the selected player."
})
-- =========================
-- SEND COMMAND WITH PREFIX
-- =========================
local function CmdSend(command)
if not selectedPlayer then return end
runCommand(CurrentPrefix .. command .. " " .. selectedPlayer)
end
-- =========================
-- COMMAND BUTTONS
-- =========================
local function Cmd(name, command)
CommandsTab:CreateButton({
Name = name,
Callback = function()
CmdSend(command)
end
})
end
Cmd("Force Field", "ff")
Cmd("Disco", "disco")
Cmd("Laugh Music", "music 319332735")
Cmd("Music 160442087", "music 160442087")
Cmd("Fly", "fly")
Cmd("Unfly", "unfly")
Cmd("Control Player", "control")
-- =========================
-- PUNISH / TROLL
-- =========================
local function PunishCmd(name, command)
PunishTab:CreateButton({
Name = name,
Callback = function()
CmdSend(command)
end
})
end
PunishCmd("Jail", "jail")
PunishCmd("Ice", "ice")
PunishCmd("Rocket", "rocket")
PunishCmd("Smite", "smite")
PunishCmd("Explode", "explode")
-- =========================
-- CONTROL / EFFECTS
-- =========================
local function EffectCmd(name, command)
EffectsTab:CreateButton({
Name = name,
Callback = function()
CmdSend(command)
end
})
end
EffectCmd("Freeze", "freeze")
EffectCmd("Unfreeze", "unfreeze")
EffectCmd("Blind", "blind")
EffectCmd("Unblind", "unblind")
EffectCmd("Sparkles", "sparkles")
-- =========================
-- MISC
-- =========================
MiscTab:CreateButton({
Name = "Change Prefix (: ; /)",
Callback = function()
local i = table.find(Prefixes, CurrentPrefix) or 1
i += 1
if i > #Prefixes then i = 1 end
CurrentPrefix = Prefixes[i]
Rayfield:Notify({
Title = "Prefix Changed",
Content = "Current prefix: "..CurrentPrefix,
Duration = 3
})
end
})
MiscTab:CreateButton({
Name = "Destroy GUI",
Callback = function()
Rayfield:Destroy()
end
})
-- =========================
-- NOTIFY
-- =========================
Rayfield:Notify({
Title = "jester bac0n gui hd admin",
Content = "Organized tabs + prefix support loaded successfully",
Duration = 6
})
Comments (0)
Please login to comment
Login with Discord
Loading comments...