--[[ ================================================================================ ADMINJOY v3 | GUI EDITION | LAG-FREE REBUILD ================================================================================ NO external loadstrings (KohlsNoob / SkidNation X both REMOVED — they were the lag source). Pure AdminJoy, lightweight, no namecall hooks. TextBox focus auto-released so you can ALWAYS move (WASD never gets stolen). OPEN UI: click the ⚡ button (left side) or press RIGHT-CTRL TARGET: set at top (me/all/others/random/name) — VALUE box for numbers TABS: Visuals / OP / Player / Server / Fun / Settings ================================================================================ ]] local PREFIX = "!" local KOHLS_PREFIX = ";" local ACCENT = Color3.fromRGB(120, 255, 180) local ACCENT2 = Color3.fromRGB(100, 200, 255) local BG_DARK = Color3.fromRGB(12, 14, 22) local BG_MID = Color3.fromRGB(20, 24, 36) local SHOWOFF = true local ANTI_KICK = true local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local RunService = game:GetService("RunService") local TweenService = game:GetService("TweenService") local UserInputService = game:GetService("UserInputService") local GuiService = game:GetService("GuiService") local TeleportService = game:GetService("TeleportService") local TextChatService = pcall(function() return game:GetService("TextChatService") end) and game:GetService("TextChatService") or nil local LocalPlayer = Players.LocalPlayer local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") -- Safe focus release (UserInputService has NO ReleaseFocus method; calling it -- spammed red errors every click/Enter. GuiService.SelectedObject = nil is -- the supported path, fully pcall-guarded). local function releaseFocus() pcall(function() GuiService.SelectedObject = nil end) local sel = GuiService.SelectedObject if sel then pcall(function() sel:ReleaseFocus(false) end) end end --===========================================================================-- -- CHAT / REMOTE (lightweight — no hooks) --===========================================================================-- --===========================================================================-- -- MULTI-CHANNEL COMMAND ENGINE (works even when muted) -- Priority: dedicated admin RemoteEvent/Function > chat remotes > -- TextChatService. A muted player's chat is rejected server-side; admin -- remotes bypass chat moderation entirely, so commands still fire. --===========================================================================-- local CHAT_REMOTES = {} local ADMIN_REMOTES = {} local ADMIN_FUNCS = {} local legacySay = nil -- DefaultChatSystemChatEvents.SayMessageRequest (this game's real command pipe) local ADMIN_KEYS = {"admin","command","kohl","cmd","handler","executor","announcer","permission","staff","net","modsys"} local function discoverRemotes() table.clear(CHAT_REMOTES); table.clear(ADMIN_REMOTES); table.clear(ADMIN_FUNCS) legacySay = nil local okE, ev = pcall(function() return ReplicatedStorage:FindFirstChild("DefaultChatSystemChatEvents") end) if okE and ev then legacySay = ev:FindFirstChild("SayMessageRequest") end local containers = {ReplicatedStorage, ReplicatedFirst, Workspace} if LocalPlayer then table.insert(containers, LocalPlayer.PlayerScripts) table.insert(containers, LocalPlayer.PlayerGui) end for _, cont in ipairs(containers) do local ok, desc = pcall(function() return cont:GetDescendants() end) if ok and desc then for _, obj in ipairs(desc) do local n = obj.Name:lower() local isR = obj:IsA("RemoteEvent") local isF = obj:IsA("RemoteFunction") if (isR or isF) and obj ~= legacySay then if n:match("message") or n:match("chat") or n:match("say") then if isR then table.insert(CHAT_REMOTES, obj) end end local hit = false for _, k in ipairs(ADMIN_KEYS) do if n:find(k, 1, true) then hit = true; break end end if hit then if isR then table.insert(ADMIN_REMOTES, obj) elseif isF then table.insert(ADMIN_FUNCS, obj) end end end end end end end discoverRemotes() -- late remotes / chat system appear after load; keep rescanning quietly task.spawn(function() local ev = ReplicatedStorage:WaitForChild("DefaultChatSystemChatEvents", 12) if ev then legacySay = ev:WaitForChild("SayMessageRequest", 6) end for _ = 1, 25 do task.wait(3); discoverRemotes() end end) -- Legacy chat command pipe. Channel "System" = admin commands (bypasses the -- chat flood/moderation gate, exactly how Kohl's Noob drives this game); -- channel "All" = visible public message everyone can read. local function fireLegacy(message, channel) if not legacySay then return false end local ok = pcall(function() legacySay:FireServer(message, channel) end) return ok end local function fireAdminRemotes(full, plain) for idx, r in ipairs(ADMIN_REMOTES) do pcall(function() if r:IsA("RemoteEvent") then r:FireServer(full) if idx == 1 then r:FireServer(plain); r:FireServer(LocalPlayer, full) end end end) end for _, r in ipairs(ADMIN_FUNCS) do pcall(function() r:InvokeServer(full) end) end end local function sendTextChat(message) if not TextChatService then return end pcall(function() local root = TextChatService:FindFirstChild("TextChannels") if root then for _, ch in ipairs(root:GetChildren()) do if ch:IsA("TextChannel") then pcall(function() ch:SendAsync(message) end) end end end end) end -- Public visible message (showoff banners / announces / hints). local function say(message) fireLegacy(message, "All") for _, r in ipairs(CHAT_REMOTES) do pcall(function() r:FireServer(message, "All") end) end sendTextChat(message) end -- Admin command sender. Tries every spelling the Kohl's parser accepts: -- ";cmd" (semicolon), ":cmd" (colon), bare "cmd". System channel first. local function kohl(cmd) local semi = KOHLS_PREFIX .. cmd local colon = ":" .. cmd fireAdminRemotes(semi, cmd) fireLegacy(semi, "System") fireLegacy(colon, "System") fireLegacy(cmd, "System") sendTextChat(semi) end local function kohlMulti(cmds, d) d = d or 0.06 task.spawn(function() for _, c in ipairs(cmds) do kohl(c); task.wait(d) end end) end local function remoteStatus() local legacy = legacySay and "yes" or "no" local tch = "none" if TextChatService then local root = TextChatService:FindFirstChild("TextChannels") if root then tch = tostring(#root:GetChildren()) end end return ("legacy=%s textch=%s admin=%d func=%d chat=%d"):format(legacy, tch, #ADMIN_REMOTES, #ADMIN_FUNCS, #CHAT_REMOTES) end local function flashAnnounce(text) if not SHOWOFF then return end task.spawn(function() say(";announce [AdminJoy v3] " .. text) task.wait(0.15) say(";hint >> " .. text) end) end --===========================================================================-- -- TARGET RESOLVER --===========================================================================-- local function resolveTarget(arg) if not arg or arg == "" then return {LocalPlayer} end arg = arg:lower(); local r = {} if arg == "me" then table.insert(r, LocalPlayer) elseif arg == "all" then r = Players:GetPlayers() elseif arg == "others" then for _, p in ipairs(Players:GetPlayers()) do if p ~= LocalPlayer then table.insert(r, p) end end elseif arg == "random" then local l = Players:GetPlayers(); if #l > 0 then table.insert(r, l[math.random(1, #l)]) end else for _, p in ipairs(Players:GetPlayers()) do if p.Name:lower():find(arg, 1, true) or (p.DisplayName and p.DisplayName:lower():find(arg, 1, true)) then table.insert(r, p) end end end if #r == 0 then table.insert(r, LocalPlayer) end return r end local function names(plrs) local t={}; for _,p in ipairs(plrs) do table.insert(t,p.Name) end; return table.concat(t,",") end --===========================================================================-- -- GUI (lightweight — no constant loops) --===========================================================================-- local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "AdminJoyV3"; ScreenGui.ResetOnSpawn = false ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling; ScreenGui.Parent = PlayerGui -- Toast local Toast = Instance.new("Frame") Toast.Size = UDim2.new(0, 380, 0, 34); Toast.Position = UDim2.new(0.5, -190, 0, -50) Toast.BackgroundColor3 = BG_DARK; Toast.BackgroundTransparency = 0.15; Toast.Visible = false Instance.new("UICorner", Toast).CornerRadius = UDim.new(0, 10) local tStroke = Instance.new("UIStroke"); tStroke.Color = ACCENT; tStroke.Thickness = 1.5; tStroke.Transparency = 0.3; tStroke.Parent = Toast local ToastLabel = Instance.new("TextLabel") ToastLabel.Size = UDim2.new(1,-16,1,0); ToastLabel.Position = UDim2.new(0,8,0,0) ToastLabel.BackgroundTransparency = 1; ToastLabel.Font = Enum.Font.GothamBold; ToastLabel.TextSize = 13 ToastLabel.TextColor3 = ACCENT; ToastLabel.Parent = Toast Toast.Parent = ScreenGui local toastBusy = false local function notify(msg, color) ToastLabel.Text = msg; ToastLabel.TextColor3 = color or ACCENT; tStroke.Color = color or ACCENT Toast.Visible = true if toastBusy then return end toastBusy = true TweenService:Create(Toast, TweenInfo.new(0.35, Enum.EasingStyle.Back), {Position = UDim2.new(0.5,-190,0,14)}):Play() task.wait(3); TweenService:Create(Toast, TweenInfo.new(0.35), {Position = UDim2.new(0.5,-190,0,-50)}):Play() task.wait(0.4); Toast.Visible = false; toastBusy = false end -- Floating ⚡ button local FloatBtn = Instance.new("TextButton") FloatBtn.Size = UDim2.new(0,46,0,46); FloatBtn.Position = UDim2.new(0,12,0.5,-23) FloatBtn.BackgroundColor3 = ACCENT; FloatBtn.BackgroundTransparency = 0.15 FloatBtn.Font = Enum.Font.GothamBlack; FloatBtn.TextSize = 20; FloatBtn.TextColor3 = BG_DARK; FloatBtn.Text = "⚡" Instance.new("UICorner", FloatBtn).CornerRadius = UDim.new(1,0) FloatBtn.Parent = ScreenGui -- Main panel (hidden by default — no lag from rendering) local Panel = Instance.new("Frame") Panel.Size = UDim2.new(0,560,0,420); Panel.Position = UDim2.new(0.5,-280,0.5,-210) Panel.BackgroundColor3 = BG_DARK; Panel.BackgroundTransparency = 0.08; Panel.Visible = false; Panel.Active = true Instance.new("UICorner", Panel).CornerRadius = UDim.new(0,16) local pStroke = Instance.new("UIStroke"); pStroke.Color = ACCENT; pStroke.Thickness = 1.5; pStroke.Transparency = 0.3; pStroke.Parent = Panel Panel.Parent = ScreenGui -- Title bar (drag) local TitleBar = Instance.new("Frame") TitleBar.Size = UDim2.new(1,0,0,38); TitleBar.BackgroundColor3 = BG_MID; TitleBar.BackgroundTransparency = 0.3 Instance.new("UICorner", TitleBar).CornerRadius = UDim.new(0,16); TitleBar.Parent = Panel local TitleLbl = Instance.new("TextLabel") TitleLbl.Size = UDim2.new(1,-50,1,0); TitleLbl.Position = UDim2.new(0,14,0,0) TitleLbl.BackgroundTransparency = 1; TitleLbl.Font = Enum.Font.GothamBlack; TitleLbl.TextSize = 15 TitleLbl.TextXAlignment = Enum.TextXAlignment.Left; TitleLbl.TextColor3 = ACCENT; TitleLbl.RichText = true TitleLbl.Text = 'ADMINJOY v3 • LAG-FREE' TitleLbl.Parent = TitleBar local CloseBtn = Instance.new("TextButton") CloseBtn.Size = UDim2.new(0,30,0,30); CloseBtn.Position = UDim2.new(1,-36,0,4) CloseBtn.BackgroundColor3 = Color3.fromRGB(255,80,80); CloseBtn.BackgroundTransparency = 0.2 CloseBtn.Font = Enum.Font.GothamBold; CloseBtn.TextSize = 16; CloseBtn.TextColor3 = Color3.fromRGB(255,255,255); CloseBtn.Text = "✕" Instance.new("UICorner", CloseBtn).CornerRadius = UDim.new(0,8); CloseBtn.Parent = TitleBar local dragging, dragStart, startPos TitleBar.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then dragging=true; dragStart=input.Position; startPos=Panel.Position end end) UserInputService.InputChanged:Connect(function(input) if dragging and input.UserInputType == Enum.UserInputType.MouseMovement then local d = input.Position - dragStart Panel.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset+d.X, startPos.Y.Scale, startPos.Y.Offset+d.Y) end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType==Enum.UserInputType.MouseButton1 then dragging=false end end) -- Target bar local currentTarget = "me" local TargetBar = Instance.new("Frame") TargetBar.Size = UDim2.new(1,-20,0,32); TargetBar.Position = UDim2.new(0,10,0,46) TargetBar.BackgroundColor3 = BG_MID; TargetBar.BackgroundTransparency = 0.4 Instance.new("UICorner", TargetBar).CornerRadius = UDim.new(0,8); TargetBar.Parent = Panel local TargetLbl = Instance.new("TextLabel") TargetLbl.Size = UDim2.new(0,52,1,0); TargetLbl.Position = UDim2.new(0,8,0,0) TargetLbl.BackgroundTransparency = 1; TargetLbl.Font = Enum.Font.GothamBold; TargetLbl.TextSize = 12 TargetLbl.TextXAlignment = Enum.TextXAlignment.Left; TargetLbl.TextColor3 = ACCENT2; TargetLbl.Text = "TARGET"; TargetLbl.Parent = TargetBar local TargetInput = Instance.new("TextBox") TargetInput.Size = UDim2.new(1,-180,1,-6); TargetInput.Position = UDim2.new(0,60,0,3) TargetInput.BackgroundColor3 = BG_DARK; TargetInput.BackgroundTransparency = 0.5 TargetInput.Font = Enum.Font.Code; TargetInput.TextSize = 13; TargetInput.TextColor3 = Color3.fromRGB(240,248,255) TargetInput.Text = "me"; TargetInput.ClearTextOnFocus = false Instance.new("UICorner", TargetInput).CornerRadius = UDim.new(0,6); TargetInput.Parent = TargetBar TargetInput.FocusLost:Connect(function() currentTarget = TargetInput.Text ~= "" and TargetInput.Text or "me"; releaseFocus() end) for i, qt in ipairs({"me","all","others","random"}) do local b = Instance.new("TextButton") b.Size = UDim2.new(0,52,0,24); b.Position = UDim2.new(1,-170+(i-1)*56,0,4) b.BackgroundColor3 = ACCENT2; b.BackgroundTransparency = 0.7 b.Font = Enum.Font.GothamBold; b.TextSize = 11; b.TextColor3 = Color3.fromRGB(255,255,255); b.Text = qt Instance.new("UICorner", b).CornerRadius = UDim.new(0,6); b.Parent = TargetBar b.MouseButton1Click:Connect(function() currentTarget=qt; TargetInput.Text=qt; notify("Target: "..qt); releaseFocus() end) end -- Value bar local currentValue = "" local ValueBar = Instance.new("Frame") ValueBar.Size = UDim2.new(1,-20,0,30); ValueBar.Position = UDim2.new(0,10,0,82) ValueBar.BackgroundColor3 = BG_MID; ValueBar.BackgroundTransparency = 0.4 Instance.new("UICorner", ValueBar).CornerRadius = UDim.new(0,8); ValueBar.Parent = Panel local ValueLbl = Instance.new("TextLabel") ValueLbl.Size = UDim2.new(0,52,1,0); ValueLbl.Position = UDim2.new(0,8,0,0) ValueLbl.BackgroundTransparency = 1; ValueLbl.Font = Enum.Font.GothamBold; ValueLbl.TextSize = 12 ValueLbl.TextXAlignment = Enum.TextXAlignment.Left; ValueLbl.TextColor3 = ACCENT2; ValueLbl.Text = "VALUE"; ValueLbl.Parent = ValueBar local ValueInput = Instance.new("TextBox") ValueInput.Size = UDim2.new(1,-70,1,-6); ValueInput.Position = UDim2.new(0,60,0,3) ValueInput.BackgroundColor3 = BG_DARK; ValueInput.BackgroundTransparency = 0.5 ValueInput.Font = Enum.Font.Code; ValueInput.TextSize = 13; ValueInput.TextColor3 = Color3.fromRGB(240,248,255) ValueInput.PlaceholderText = "number / song id / message"; ValueInput.ClearTextOnFocus = false Instance.new("UICorner", ValueInput).CornerRadius = UDim.new(0,6); ValueInput.Parent = ValueBar ValueInput.FocusLost:Connect(function() currentValue = ValueInput.Text; releaseFocus() end) -- Tab bar + content local TabBar = Instance.new("Frame") TabBar.Size = UDim2.new(1,-20,0,30); TabBar.Position = UDim2.new(0,10,0,118); TabBar.BackgroundTransparency = 1; TabBar.Parent = Panel local Content = Instance.new("ScrollingFrame") Content.Size = UDim2.new(1,-20,1,-190); Content.Position = UDim2.new(0,10,0,154) Content.BackgroundTransparency = 1; Content.ScrollBarThickness = 4; Content.ScrollBarImageColor3 = Color3.fromRGB(100,110,140) Content.CanvasSize = UDim2.new(0,0,0,0); Content.AutomaticCanvasSize = Enum.AutomaticSize.Y local cLayout = Instance.new("UIGridLayout"); cLayout.CellSize = UDim2.new(0,122,0,34); cLayout.CellPadding = UDim2.new(0,6,0,6); cLayout.Parent = Content Content.Parent = Panel -- Bottom command bar local CmdBar = Instance.new("Frame") CmdBar.Size = UDim2.new(1,-20,0,30); CmdBar.Position = UDim2.new(0,10,1,-38) CmdBar.BackgroundColor3 = BG_MID; CmdBar.BackgroundTransparency = 0.4 Instance.new("UICorner", CmdBar).CornerRadius = UDim.new(0,8); CmdBar.Parent = Panel local CmdInput = Instance.new("TextBox") CmdInput.Size = UDim2.new(1,-16,1,-6); CmdInput.Position = UDim2.new(0,8,0,3) CmdInput.BackgroundTransparency = 1; CmdInput.Font = Enum.Font.Code; CmdInput.TextSize = 13 CmdInput.TextColor3 = Color3.fromRGB(240,248,255); CmdInput.ClearTextOnFocus = false CmdInput.PlaceholderText = PREFIX.."command (type + Enter)"; CmdInput.Parent = CmdBar CmdInput.FocusLost:Connect(function(enter) if enter and CmdInput.Text ~= "" then runCommand(CmdInput.Text); CmdInput.Text = "" end releaseFocus() -- CRITICAL: return keyboard to movement end) -- Click panel background to release focus (so WASD always works) Panel.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then releaseFocus() end end) --===========================================================================-- -- COMMANDS --===========================================================================-- local Commands = {} local function register(nl, f) for _, n in ipairs(nl) do Commands[n] = f end end register({"beam"}, function(a) local x,y=resolveTarget(a[1]),resolveTarget(a[2]); if #x==0 or #y==0 then notify("beam: two targets", Color3.fromRGB(255,120,120)); return end; for _,p1 in ipairs(x) do for _,p2 in ipairs(y) do if p1~=p2 then kohl("beam "..p1.Name.." "..p2.Name) end end end; notify("Beam connected") end) register({"unbeam"}, function() kohl("unbeam all"); notify("Beams cleared") end) register({"rap"}, function(a) local tn=names(resolveTarget(a[1] or "me")); notify("RAP: "..tn); task.spawn(function() local fx={"fire","smoke","sparkles","lightning","invisible","visible","trail"}; for i=1,24 do kohl(fx[math.random(1,#fx)].." "..tn); if i%3==0 then kohl("explode "..tn) end; task.wait(0.22) end; kohl("unfire "..tn); kohl("unsmoke "..tn); kohl("unsparkles "..tn) end) end) register({"kaboom","boom"}, function(a) local plrs = resolveTarget(a[1] or "random"); local tn = names(plrs) notify("KABOOM x5: "..tn, Color3.fromRGB(255,120,60)) flashAnnounce("KABOOM! "..tn.." bombed 5x by "..LocalPlayer.Name.."!") task.spawn(function() for _, p in ipairs(plrs) do kohl("fire "..p.Name); kohl("smoke "..p.Name); kohl("sparkles "..p.Name); task.wait(0.2) for i=1,5 do kohl("explode "..p.Name); kohl("rocket "..p.Name) if i<5 then kohl("fire "..p.Name) end task.wait(0.35) end kohl("explode "..p.Name); kohl("explode "..p.Name); kohl("kill "..p.Name) task.wait(0.2); kohl("unfire "..p.Name); kohl("unsmoke "..p.Name); kohl("unsparkles "..p.Name) end end) end) register({"nuke"}, function(a) local plrs = resolveTarget(a[1] or "random"); local tn = names(plrs) notify("NUKE: "..tn, Color3.fromRGB(255,180,80)); flashAnnounce(LocalPlayer.Name.." NUKED "..tn.."!") for _, p in ipairs(plrs) do kohlMulti({"fire "..p.Name,"smoke "..p.Name,"sparkles "..p.Name,"explode "..p.Name,"explode "..p.Name,"explode "..p.Name,"rocket "..p.Name,"kill "..p.Name},0.08) end end) register({"armageddon","army"}, function(a) local tn=names(resolveTarget(a[1] or "others")); notify("ARMAGEDDON: "..tn, Color3.fromRGB(255,80,80)); flashAnnounce("ARMAGEDDON — "..LocalPlayer.Name.." ends "..tn.."!"); task.spawn(function() for i=1,8 do kohl("explode "..tn); kohl("lightning "..tn); kohl("fire "..tn); kohl("rocket "..tn); task.wait(0.35) end; kohl("kill "..tn); kohl("unfire "..tn); kohl("unsmoke "..tn) end) end) register({"tornado","torn"}, function(a) local tn=names(resolveTarget(a[1] or "random")); notify("TORNADO: "..tn, Color3.fromRGB(180,255,180)); task.spawn(function() for i=1,12 do kohl("speed "..tn.." "..tostring(50+i*15)); kohl("jump "..tn.." "..tostring(100+i*20)); kohl("sparkles "..tn); if i%2==0 then kohl("smoke "..tn) end; task.wait(0.3) end; kohl("speed "..tn.." 16"); kohl("jump "..tn.." 50") end) end) register({"orbit"}, function(a) local tn=names(resolveTarget(a[1] or "me")); notify("ORBIT: "..tn); kohlMulti({"sparkles "..tn,"fire "..tn,"smoke "..tn,"trail "..tn,"forcefield "..tn},0.1) end) register({"blackhole","bh"}, function(a) local tn=names(resolveTarget(a[1] or "random")); notify("BLACKHOLE: "..tn, Color3.fromRGB(200,160,255)); kohlMulti({"invisible "..tn,"freeze "..tn,"smoke "..tn,"sparkles "..tn,"visible "..tn,"explode "..tn},0.15) end) register({"meteor","met"}, function(a) local tn=names(resolveTarget(a[1] or "random")); notify("METEOR: "..tn, Color3.fromRGB(255,120,60)); kohlMulti({"fire "..tn,"rocket "..tn,"explode "..tn,"smoke "..tn,"kill "..tn},0.12) end) register({"rainbow","rb"}, function(a) local tn=names(resolveTarget(a[1] or "me")); notify("RAINBOW: "..tn, Color3.fromRGB(255,120,220)); kohlMulti({"sparkles "..tn,"trail "..tn,"forcefield "..tn,"speed "..tn.." 80","jump "..tn.." 150"},0.1) end) register({"disco","party"}, function(a) local tn=names(resolveTarget(a[1] or "all")); notify("DISCO: "..tn, Color3.fromRGB(255,120,220)); flashAnnounce("DISCO TIME! "..LocalPlayer.Name.." started a party!"); task.spawn(function() local fx={"sparkles","fire","smoke","trail","forcefield","invisible","visible"}; for i=1,20 do kohl(fx[math.random(1,#fx)].." "..tn); kohl("speed "..tn.." "..tostring(math.random(20,200))); task.wait(0.3) end; kohl("unsparkles "..tn); kohl("unfire "..tn); kohl("unsmoke "..tn); kohl("untrail "..tn); kohl("speed "..tn.." 16") end) end) register({"ice","freeze2"}, function(a) local tn=names(resolveTarget(a[1] or "random")); notify("ICE: "..tn, Color3.fromRGB(160,220,255)); kohlMulti({"freeze "..tn,"forcefield "..tn,"sparkles "..tn,"invisible "..tn,"visible "..tn},0.15) end) register({"cage"}, function(a) local tn=names(resolveTarget(a[1] or "random")); notify("CAGED: "..tn, Color3.fromRGB(255,220,120)); kohlMulti({"jail "..tn,"freeze "..tn,"speed "..tn.." 0"},0.1) end) register({"uncage"}, function(a) local tn=names(resolveTarget(a[1] or "me")); kohlMulti({"unjail "..tn,"thaw "..tn,"speed "..tn.." 16"},0.1); notify("Released: "..tn) end) register({"rocket","launch"}, function(a) local tn=names(resolveTarget(a[1] or "random")); notify("ROCKET: "..tn, Color3.fromRGB(255,160,80)); kohlMulti({"rocket "..tn,"fire "..tn,"smoke "..tn,"explode "..tn},0.15) end) register({"fling"}, function(a) local tn=names(resolveTarget(a[1] or "random")); notify("FLING: "..tn, Color3.fromRGB(255,140,140)); kohlMulti({"speed "..tn.." 255","jump "..tn.." 300","rocket "..tn},0.08); task.delay(2,function() kohl("speed "..tn.." 16"); kohl("jump "..tn.." 50") end) end) register({"spin"}, function(a) local tn=names(resolveTarget(a[1] or "random")); notify("SPIN: "..tn); task.spawn(function() for i=1,10 do kohl("sit "..tn); task.wait(0.15); kohl("jump "..tn.." 200"); task.wait(0.15) end end) end) register({"void","voidsend"}, function(a) local tn=names(resolveTarget(a[1] or "random")); notify("VOID: "..tn, Color3.fromRGB(140,100,255)); flashAnnounce(LocalPlayer.Name.." banished "..tn.." to the VOID!"); kohlMulti({"freeze "..tn,"invisible "..tn},0.1); task.spawn(function() kohl("void "..tn); task.wait(0.2); kohl("kill "..tn); task.wait(0.5); kohl("visible "..tn); kohl("thaw "..tn) end) end) register({"crusade","godmode"}, function() local me=LocalPlayer.Name; notify("CRUSADE!", Color3.fromRGB(255,220,100)); flashAnnounce(me.." HAS ASCENDED — CRUSADE MODE!"); kohlMulti({"god "..me,"forcefield "..me,"sparkles "..me,"trail "..me,"speed "..me.." 200","jump "..me.." 250","size "..me.." 2","heal "..me},0.08) end) register({"midas","gold"}, function(a) local tn=names(resolveTarget(a[1] or "random")); notify("MIDAS: "..tn, Color3.fromRGB(255,215,0)); flashAnnounce("MIDAS! "..LocalPlayer.Name.." turned "..tn.." to gold!"); kohlMulti({"forcefield "..tn,"sparkles "..tn,"freeze "..tn,"size "..tn.." 1.5","trail "..tn},0.1) end) register({"purge","killall"}, function() notify("PURGE!", Color3.fromRGB(255,60,60)); flashAnnounce("PURGE! "..LocalPlayer.Name.." kills everyone!") task.spawn(function() for _, p in ipairs(Players:GetPlayers()) do if p ~= LocalPlayer then kohl("kill "..p.Name) kohl("explode "..p.Name) kohl("fire "..p.Name) kohl("rocket "..p.Name) kohl("reset "..p.Name) task.wait(0.08) end end end) end) register({"heaven","ascend"}, function(a) local tn=names(resolveTarget(a[1] or "me")); notify("ASCEND: "..tn, Color3.fromRGB(200,255,255)); flashAnnounce(tn.." ascends to HEAVEN!"); kohlMulti({"sparkles "..tn,"forcefield "..tn,"jump "..tn.." 500","rocket "..tn},0.15) end) local DESTRUCTIVE = {kill=true, explode=true, fire=true, rocket=true, lightning=true, meteor=true, void=true, freeze=true, jail=true, cage=true} for _, c in ipairs({"kill","heal","respawn","god","ungod","fire","unfire","smoke","unsmoke","sparkles","unsparkles","lightning","explode","forcefield","unforcefield","trail","untrail","invisible","visible","freeze","thaw","jail","unjail","sit","sword"}) do register({c}, function(a) local raw = a[1] local plrs = resolveTarget(raw) local explicit = (raw ~= nil and raw ~= "" and raw ~= "me" and raw ~= "all" and raw ~= "others" and raw ~= "random") if DESTRUCTIVE[c] and explicit and #plrs == 1 and plrs[1] == LocalPlayer then notify("No target matched '"..tostring(raw).."' for "..c, Color3.fromRGB(255,120,120)); return end if DESTRUCTIVE[c] then for _, p in ipairs(plrs) do if c == "kill" then kohl("kill "..p.Name) kohl("explode "..p.Name) kohl("fire "..p.Name) kohl("rocket "..p.Name) else kohl(c.." "..p.Name) end end else kohl(c.." "..names(plrs)) end notify(c.." -> "..names(plrs)) end) end register({"test","ping","remotes"}, function() local st = remoteStatus() notify("Delivery "..st, ACCENT) print("[AdminJoy] delivery "..st.." | admin remotes="..#ADMIN_REMOTES.." funcs="..#ADMIN_FUNCS) say(";hint AdminJoy online "..LocalPlayer.Name.." | "..st) end) register({"speed","sp"}, function(a) local tn=names(resolveTarget(a[1] or "me")); local n=tonumber(a[2]) or 16; kohl("speed "..tn.." "..n); notify("Speed "..n.." -> "..tn) end) register({"jump","jp"}, function(a) local tn=names(resolveTarget(a[1] or "me")); local n=tonumber(a[2]) or 50; kohl("jump "..tn.." "..n); notify("Jump "..n.." -> "..tn) end) register({"size","scale"}, function(a) local tn=names(resolveTarget(a[1] or "me")); local n=tonumber(a[2]) or 1; kohl("size "..tn.." "..n); notify("Size "..n.."x -> "..tn) end) register({"tp","teleport"}, function(a) local x,y=resolveTarget(a[1]),resolveTarget(a[2]); if #x==0 or #y==0 then notify("tp: two targets", Color3.fromRGB(255,120,120)); return end; kohl("tp "..names(x).." "..names(y)); notify("TP: "..names(x).." -> "..names(y)) end) register({"bring"}, function(a) local tn=names(resolveTarget(a[1] or "random")); kohl("bring "..tn); notify("Brought: "..tn) end) register({"goto"}, function(a) local t=resolveTarget(a[1]); if #t==0 then notify("goto: no target", Color3.fromRGB(255,120,120)); return end; kohl("goto "..names(t)); notify("You -> "..names(t)) end) register({"announce","ann","msg"}, function(a) say(";announce "..table.concat(a," ")); notify("Announced") end) register({"hint"}, function(a) say(";hint "..table.concat(a," ")) end) register({"music","song"}, function(a) local id=a[1] or "1845234174"; kohl("music "..id); notify("Music: "..id) end) register({"stopmusic"}, function() kohl("stopmusic") end) register({"time"}, function(a) local h=tonumber(a[1]) or 12; kohl("time "..h); notify("Time: "..h..":00") end) register({"weather"}, function(a) local w=a[1] or "rain"; kohl("weather "..w); notify("Weather: "..w) end) register({"gravity"}, function(a) local g=tonumber(a[1]) or 196.2; kohl("gravity "..g); notify("Gravity: "..g) end) register({"healall"}, function() kohl("heal all"); notify("Healed all") end) register({"respawnall"}, function() kohl("respawn all"); notify("Respawned all") end) register({"fly"}, function() local char=LocalPlayer.Character; if not char then return end local hum=char:FindFirstChildOfClass("Humanoid"); if not hum then return end if char:FindFirstChild("AJFly") then for _,o in ipairs(char:GetChildren()) do if o.Name=="AJFly" or o.Name=="AJFlyGyro" then o:Destroy() end end; hum.PlatformStand=false; notify("Fly OFF"); return end hum.PlatformStand=true; local root=char:FindFirstChild("HumanoidRootPart") or char.PrimaryPart local att=Instance.new("Attachment",root); local lv=Instance.new("LinearVelocity"); lv.Name="AJFly"; lv.MaxForce=Vector3.new(1e5,1e5,1e5); lv.Attachment0=att; lv.VectorVelocity=Vector3.new(); lv.Parent=char local bg=Instance.new("BodyGyro"); bg.Name="AJFlyGyro"; bg.MaxTorque=Vector3.new(1e5,1e5,1e5); bg.P=1e4; bg.CFrame=root.CFrame; bg.Parent=root notify("Fly ON — Space=up Shift=down"); local conn; conn=RunService.RenderStepped:Connect(function() if not char:FindFirstChild("AJFly") then conn:Disconnect(); return end local cam=workspace.CurrentCamera; local dir=Vector3.new() if UserInputService:IsKeyDown(Enum.KeyCode.W) then dir=dir+cam.CFrame.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.S) then dir=dir-cam.CFrame.LookVector end if UserInputService:IsKeyDown(Enum.KeyCode.D) then dir=dir+cam.CFrame.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.A) then dir=dir-cam.CFrame.RightVector end if UserInputService:IsKeyDown(Enum.KeyCode.Space) then dir=dir+Vector3.new(0,1,0) end if UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) then dir=dir-Vector3.new(0,1,0) end lv.VectorVelocity=dir.Magnitude>0 and dir.Unit*60 or Vector3.new() end) end) register({"noclip","nc"}, function() local char=LocalPlayer.Character; if not char then return end if char:FindFirstChild("AJNoclip") then char.AJNoclip:Destroy(); notify("Noclip OFF"); return end Instance.new("BoolValue",char).Name="AJNoclip"; notify("Noclip ON") local conn; conn=RunService.Stepped:Connect(function() if not char:FindFirstChild("AJNoclip") then conn:Disconnect(); return end; for _,p in ipairs(char:GetDescendants()) do if p:IsA("BasePart") then p.CanCollide=false end end end) end) register({"fpsboost","antilag","fps","boost","lag"}, function() pcall(function() settings().Rendering.QualityLevel=1 end); pcall(function() UserSettings():GetService("UserGameSettings").RenderQuality=Enum.SavedQualitySetting.QualityLevel1 end); for _,e in ipairs(game:GetService("Lighting"):GetChildren()) do if e:IsA("PostEffect") then e.Enabled=false end end; notify("Anti-lag ON — effects disabled", Color3.fromRGB(120,255,140)) end) register({"rejoin","rj"}, function() notify("Rejoining...", Color3.fromRGB(255,80,80)); pcall(function() TeleportService:TeleportToPlaceInstance(game.PlaceId, game.JobId, LocalPlayer) end) end) register({"showoff","flex"}, function() SHOWOFF=not SHOWOFF; if SHOWOFF then flashAnnounce(LocalPlayer.Name.." turned on SHOWOFF!") end; notify("Showoff: "..tostring(SHOWOFF)) end) register({"antikick","ak"}, function() ANTI_KICK=not ANTI_KICK; notify("Anti-kick: "..(ANTI_KICK and "ON" or "OFF")) end) register({"hideui","ui"}, function() Panel.Visible=false; notify("UI hidden — click ⚡ or Right-Ctrl") end) register({"help","cmds","?"}, function() local l={}; for n in pairs(Commands) do table.insert(l,n) end; table.sort(l); notify("Commands: "..table.concat(l,", "), Color3.fromRGB(180,255,180)); print("[AdminJoy v3]\n"..table.concat(l,"\n")) end) register({"prefix"}, function(a) if a[1] and #a[1]==1 then PREFIX=a[1]; CmdInput.PlaceholderText=PREFIX.."command"; notify("Prefix: "..PREFIX) end end) local SILENT = {help=true,cmds=true,["?"]=true,prefix=true,fly=true,noclip=true,nc=true,fpsboost=true,antilag=true,fps=true,boost=true,lag=true,hideui=true,ui=true,antikick=true,ak=true,rejoin=true,rj=true,showoff=true,flex=true} function runCommand(raw) raw = raw:gsub("^%s+",""):gsub("%s+$","") if raw:sub(1,#PREFIX)~=PREFIX then return false end local body=raw:sub(#PREFIX+1); local parts={} for w in body:gmatch("%S+") do table.insert(parts,w) end if #parts==0 then return false end local cn=parts[1]:lower(); local args={} for i=2,#parts do args[i-1]=parts[i] end local cmd=Commands[cn] if cmd then local ok,err=pcall(cmd,args) if not ok then notify("Error: "..tostring(err), Color3.fromRGB(255,100,100)) end if ok and SHOWOFF and not SILENT[cn] then flashAnnounce(LocalPlayer.Name.." used "..PREFIX..cn.." "..table.concat(args," ")) end return true else notify("Unknown '"..cn.."' — passing to Kohl's", Color3.fromRGB(255,200,100)); kohl(body); return true end end --===========================================================================-- -- GUI TABS + BUTTONS --===========================================================================-- local TABS = {"Visuals","OP","Player","Server","Fun","Settings"} local TAB_COLORS = {Visuals=ACCENT, OP=Color3.fromRGB(255,120,80), Player=ACCENT2, Server=Color3.fromRGB(200,160,255), Fun=Color3.fromRGB(255,120,220), Settings=Color3.fromRGB(255,220,100)} local CMD_DEFS = { Visuals = {{"Beam","beam",true,false,true},{"Unbeam","unbeam"},{"RAP Storm","rap",true},{"Fire","fire",true},{"Unfire","unfire",true},{"Smoke","smoke",true},{"Unsmoke","unsmoke",true},{"Sparkles","sparkles",true},{"Unsparkles","unsparkles",true},{"Trail","trail",true},{"Untrail","untrail",true},{"Forcefield","forcefield",true},{"Invisible","invisible",true},{"Visible","visible",true},{"Rainbow","rainbow",true},{"Disco","disco",true},{"Lightning","lightning",true},{"Explode","explode",true}}, OP = {{"KABOOM x5","kaboom",true},{"Nuke","nuke",true},{"Armageddon","armageddon",true},{"Tornado","tornado",true},{"Orbit","orbit",true},{"Black Hole","blackhole",true},{"Meteor","meteor",true},{"Ice","ice",true},{"Cage","cage",true},{"Uncage","uncage",true},{"Rocket","rocket",true},{"Fling","fling",true},{"Spin","spin",true},{"Void","void",true},{"Midas","midas",true},{"Heaven","heaven",true},{"Purge","purge"}}, Player = {{"Kill","kill",true},{"Heal","heal",true},{"Respawn","respawn",true},{"God","god",true},{"Ungod","ungod",true},{"Freeze","freeze",true},{"Thaw","thaw",true},{"Jail","jail",true},{"Unjail","unjail",true},{"Sit","sit",true},{"Sword","sword",true},{"Speed","speed",true,true},{"Jump","jump",true,true},{"Resize","size",true,true},{"TP","tp",true,false,true},{"Bring","bring",true},{"Goto","goto",true},{"Crusade","crusade"}}, Server = {{"Announce","announce",false,true},{"Hint","hint",false,true},{"Music","music",false,true},{"Stop Music","stopmusic"},{"Time","time",false,true},{"Weather","weather",false,true},{"Gravity","gravity",false,true},{"Heal All","healall"},{"Respawn All","respawnall"}}, Fun = {{"Fly","fly"},{"Noclip","noclip"},{"Anti-Lag / FPS","antilag"},{"Rejoin","rejoin"}}, Settings = {{"Showoff","showoff"},{"PermAdmin","permadmin"},{"Anti-Abuse","antiabuse"},{"Anti-Kick","antikick"},{"Keep Target","keep",true},{"Anti-Lag","antilag"},{"Antis Status","antis"},{"Test Remotes","test"},{"Hide UI","hideui"},{"Help","help"},{"Prefix","prefix"}}, } local tabBtns = {} local function renderTab(id) for _, c in ipairs(Content:GetChildren()) do if c:IsA("TextButton") then c:Destroy() end end for i, def in ipairs(CMD_DEFS[id] or {}) do local label, cmd, needsT, needsV, needsT2 = def[1], def[2], def[3], def[4], def[5] local btn = Instance.new("TextButton") btn.Size = UDim2.new(0,122,0,34); btn.LayoutOrder = i btn.BackgroundColor3 = BG_MID; btn.BackgroundTransparency = 0.3 btn.Font = Enum.Font.GothamBold; btn.TextSize = 11; btn.TextWrapped = true btn.TextColor3 = Color3.fromRGB(230,240,255); btn.Text = label Instance.new("UICorner", btn).CornerRadius = UDim.new(0,7) local bs = Instance.new("UIStroke"); bs.Color = ACCENT2; bs.Thickness = 1; bs.Transparency = 0.6; bs.Parent = btn btn.Parent = Content btn.MouseButton1Click:Connect(function() local t = currentTarget; local v = currentValue local DESTRUCTIVE_GUI = {kill=true,explode=true,fire=true,rocket=true,lightning=true,meteor=true,void=true,freeze=true,jail=true,smoke=true,sparkles=true} if DESTRUCTIVE_GUI[cmd] and (t == "me" or t == "") then t = "others" end local s = PREFIX..cmd if needsT then s = s.." "..t end if needsT2 then s = s.." "..(v~="" and v or "me") end if needsV and v~="" then s = s.." "..v end if (cmd=="announce" or cmd=="hint" or cmd=="music" or cmd=="time" or cmd=="weather" or cmd=="gravity") and v~="" then s = PREFIX..cmd.." "..v end runCommand(s); releaseFocus() btn.BackgroundColor3 = ACCENT; btn.TextColor3 = BG_DARK task.delay(0.15, function() btn.BackgroundColor3 = BG_MID; btn.TextColor3 = Color3.fromRGB(230,240,255) end) end) end for tid, b in pairs(tabBtns) do b.BackgroundTransparency = (tid==id) and 0.1 or 0.7; b.TextColor3 = (tid==id) and BG_DARK or Color3.fromRGB(200,210,230) end end for i, id in ipairs(TABS) do local b = Instance.new("TextButton") b.Size = UDim2.new(0,86,0,28); b.Position = UDim2.new(0,(i-1)*92,0,0) b.BackgroundColor3 = TAB_COLORS[id]; b.BackgroundTransparency = 0.7 b.Font = Enum.Font.GothamBold; b.TextSize = 12; b.TextColor3 = Color3.fromRGB(200,210,230); b.Text = id Instance.new("UICorner", b).CornerRadius = UDim.new(0,7); b.Parent = TabBar tabBtns[id] = b b.MouseButton1Click:Connect(function() renderTab(id); releaseFocus() end) end renderTab("Visuals") --===========================================================================-- -- UI TOGGLE + FOCUS RELEASE (fixes "can't move") --===========================================================================-- local function toggleUI() Panel.Visible = not Panel.Visible releaseFocus() -- ALWAYS release focus so WASD works if not Panel.Visible then notify("UI hidden — click ⚡ or Right-Ctrl") end end FloatBtn.MouseButton1Click:Connect(toggleUI) CloseBtn.MouseButton1Click:Connect(toggleUI) UserInputService.InputBegan:Connect(function(input, gp) if not gp and input.KeyCode == Enum.KeyCode.RightControl then toggleUI() end end) -- Release focus on ANY click outside a textbox (guarantees movement) UserInputService.InputBegan:Connect(function(input, gp) if input.UserInputType == Enum.UserInputType.MouseButton1 and not gp then task.delay(0.05, function() if not (TargetInput:IsFocused() or ValueInput:IsFocused() or CmdInput:IsFocused()) then releaseFocus() end end) end end) -- Chat input works too LocalPlayer.Chatted:Connect(function(msg) runCommand(msg) if SHOWOFF and msg:sub(1,1) == KOHLS_PREFIX then flashAnnounce(LocalPlayer.Name.." ran: "..msg) end end) -- TextChatService fallback: Player.Chatted does not fire in the new -- text-chat stack, so catch our own RBXGeneral messages and run them too. task.spawn(function() if not TextChatService then return end local root = TextChatService:WaitForChild("TextChannels", 20) if not root then return end local gen = root:WaitForChild("RBXGeneral", 10) if not gen then return end gen.MessageReceived:Connect(function(msg) local src = msg.TextSource if src and msg.Text and src.UserId == LocalPlayer.UserId then pcall(runCommand, msg.Text) end end) end) --===========================================================================-- -- ANTI-KICK (auto-rejoin + warning) --===========================================================================-- local function rejoin() notify("KICKED — rejoining...", Color3.fromRGB(255,80,80)); pcall(function() TeleportService:TeleportToPlaceInstance(game.PlaceId, game.JobId, LocalPlayer) end) end Players.PlayerRemoving:Connect(function(p) if p==LocalPlayer and ANTI_KICK then task.spawn(rejoin) end end) local function hookKick(p) p.Chatted:Connect(function(msg) if p==LocalPlayer then return end local lower=msg:lower() if (lower:match("kick") or lower:match("ban") or lower:match("shutdown")) and (lower:find(LocalPlayer.Name:lower(),1,true) or lower:find(LocalPlayer.DisplayName:lower(),1,true) or lower:match("all") or lower:match("others")) then notify("⚠ "..p.Name.." tries to kick you!", Color3.fromRGB(255,60,60)) task.spawn(function() kohl("god "..LocalPlayer.Name); kohl("forcefield "..LocalPlayer.Name) end) end end) end for _,p in ipairs(Players:GetPlayers()) do hookKick(p) end Players.PlayerAdded:Connect(hookKick) --===========================================================================-- -- EXTERNAL LOADERS DISABLED: hosted KohlsNoob payload only kicks/redirects -- and the obfuscated VM build spiked client FPS. Commands fire through the -- native legacy admin chat pipe above; nothing external loads. --===========================================================================-- --===========================================================================-- -- ALL ANTIS + ADMIN PROTECTION (auto, always-on) --===========================================================================-- local ANTI_VOID = true local ANTI_FLING = true local ANTI_FREEZE = true local ANTI_KILL = true local ANTI_ABUSE = true local PERM_ADMIN = false local protectedPlayers = {} -- Anti-void + anti-fling + anti-freeze + anti-kill + permadmin monitor task.spawn(function() local lastSafe = nil while true do task.wait(0.5) local char = LocalPlayer.Character if char then local root = char:FindFirstChild("HumanoidRootPart") local hum = char:FindFirstChildOfClass("Humanoid") if root and hum then if ANTI_VOID and root.Position.Y < -300 and lastSafe then notify("VOID DETECTED — returning", Color3.fromRGB(255,120,120)) root.CFrame = CFrame.new(lastSafe) kohl("thaw "..LocalPlayer.Name); kohl("visible "..LocalPlayer.Name) elseif root.Position.Y > -50 and root.Position.Y < 500 then lastSafe = root.Position end if ANTI_FLING and root.Velocity.Magnitude > 350 then root.Velocity = Vector3.new(); kohl("thaw "..LocalPlayer.Name) end if ANTI_FREEZE and (hum.WalkSpeed <= 1 or hum.PlatformStand) then hum.WalkSpeed = 16; hum.PlatformStand = false kohl("thaw "..LocalPlayer.Name); kohl("unjail "..LocalPlayer.Name) end if ANTI_KILL and hum.Health < hum.MaxHealth and hum.Health > 0 then kohl("heal "..LocalPlayer.Name); kohl("god "..LocalPlayer.Name); kohl("forcefield "..LocalPlayer.Name) end end end if PERM_ADMIN then kohl("god "..LocalPlayer.Name); kohl("forcefield "..LocalPlayer.Name) kohl("speed "..LocalPlayer.Name.." 16"); kohl("jump "..LocalPlayer.Name.." 50") end end end) -- Anti-abuse: detect commands used on you via chat + auto-counter local function counter(attacker, cmd, target) if not ANTI_ABUSE then return end local me = LocalPlayer.Name:lower() local dn = LocalPlayer.DisplayName:lower() local t = target:lower() if not (t:find(me,1,true) or t:find(dn,1,true) or t=="all" or t=="others") then return end notify(attacker.." used ;"..cmd.." on you! Countering...", Color3.fromRGB(255,80,80)) local c = cmd:lower() if c:match("kick") or c:match("ban") or c:match("shutdown") then pcall(function() TeleportService:TeleportToPlaceInstance(game.PlaceId, game.JobId, LocalPlayer) end) elseif c:match("kill") or c:match("explode") or c:match("rocket") or c:match("meteor") then kohl("god "..LocalPlayer.Name); kohl("forcefield "..LocalPlayer.Name); kohl("heal "..LocalPlayer.Name) elseif c:match("freeze") or c:match("jail") or c:match("sit") or c:match("ice") or c:match("cage") then kohl("thaw "..LocalPlayer.Name); kohl("unjail "..LocalPlayer.Name); kohl("speed "..LocalPlayer.Name.." 16") elseif c:match("invisible") then kohl("visible "..LocalPlayer.Name) elseif c:match("speed") or c:match("jump") then kohl("speed "..LocalPlayer.Name.." 16"); kohl("jump "..LocalPlayer.Name.." 50") elseif c:match("size") then kohl("size "..LocalPlayer.Name.." 1") elseif c:match("void") or c:match("fling") then kohl("thaw "..LocalPlayer.Name); kohl("visible "..LocalPlayer.Name) end for uid in pairs(protectedPlayers) do local p = Players:GetPlayerByUserId(uid) if p then kohl("god "..p.Name); kohl("heal "..p.Name); kohl("thaw "..p.Name); kohl("forcefield "..p.Name) end end end local function hookAbuse(p) p.Chatted:Connect(function(msg) if p == LocalPlayer then return end local cmd, target = msg:match("^[;!](%w+)%s+(.+)") if cmd and target then counter(p.Name, cmd, target:gsub("%s+","")) end end) end for _, p in ipairs(Players:GetPlayers()) do hookAbuse(p) end Players.PlayerAdded:Connect(hookAbuse) -- Admin protection chat commands (;permadmin, ;keep, ;min, ;max, ;antiabuse, ;antis) LocalPlayer.Chatted:Connect(function(msg) local lower = msg:lower() if lower:match("permadmin") then PERM_ADMIN = not PERM_ADMIN notify("PermAdmin: "..(PERM_ADMIN and "ON" or "OFF"), PERM_ADMIN and Color3.fromRGB(120,255,140) or Color3.fromRGB(255,200,100)) elseif lower:match("^[;!]keep") then local name = msg:match("keep%s+(%S+)") if name then for _, p in ipairs(Players:GetPlayers()) do if p.Name:lower():find(name:lower(),1,true) or name:lower()=="all" then protectedPlayers[p.UserId] = true kohl("god "..p.Name); kohl("forcefield "..p.Name); kohl("heal "..p.Name) notify("Kept: "..p.Name, Color3.fromRGB(120,255,140)) end end end elseif lower:match("^[;!]min%s") then local name = msg:match("min%s+(%S+)"); if name then kohl("size "..name.." 0.3"); notify("Shrunk: "..name) end elseif lower:match("^[;!]max%s") then local name = msg:match("max%s+(%S+)"); if name then kohl("size "..name.." 3"); notify("Grew: "..name) end elseif lower:match("antiabuse") then ANTI_ABUSE = not ANTI_ABUSE; notify("Anti-abuse: "..tostring(ANTI_ABUSE)) elseif lower:match("^[;!]antis") then notify("Void:"..tostring(ANTI_VOID).." Fling:"..tostring(ANTI_FLING).." Freeze:"..tostring(ANTI_FREEZE).." Kill:"..tostring(ANTI_KILL).." Abuse:"..tostring(ANTI_ABUSE).." PermAdmin:"..tostring(PERM_ADMIN)) end end) -- Register anti commands so GUI buttons + typed !commands work too register({"permadmin","pa"}, function() PERM_ADMIN=not PERM_ADMIN; notify("PermAdmin: "..tostring(PERM_ADMIN), PERM_ADMIN and Color3.fromRGB(120,255,140) or Color3.fromRGB(255,200,100)) end) register({"antiabuse","aa"}, function() ANTI_ABUSE=not ANTI_ABUSE; notify("Anti-abuse: "..tostring(ANTI_ABUSE)) end) register({"antis"}, function() notify("Void:"..tostring(ANTI_VOID).." Fling:"..tostring(ANTI_FLING).." Freeze:"..tostring(ANTI_FREEZE).." Kill:"..tostring(ANTI_KILL).." Abuse:"..tostring(ANTI_ABUSE).." PermAdmin:"..tostring(PERM_ADMIN)) end) register({"keep"}, function(a) local tn=names(resolveTarget(a[1] or "me")); for _,p in ipairs(resolveTarget(a[1] or "me")) do protectedPlayers[p.UserId]=true; kohl("god "..p.Name); kohl("forcefield "..p.Name) end; notify("Kept: "..tn, Color3.fromRGB(120,255,140)) end) register({"min"}, function(a) local tn=names(resolveTarget(a[1] or "random")); kohl("size "..tn.." 0.3"); notify("Shrunk: "..tn) end) register({"max"}, function(a) local tn=names(resolveTarget(a[1] or "random")); kohl("size "..tn.." 3"); notify("Grew: "..tn) end) --===========================================================================-- -- LOAD NOTIFICATION + FOCUS RELEASE ON START --===========================================================================-- releaseFocus() -- CRITICAL: ensure movement works immediately task.spawn(function() task.wait(1.2) say(";announce [ADMINJOY v3] LOADED — "..LocalPlayer.Name.."! Type "..PREFIX.."help") task.wait(0.4); say(";hint >> AdminJoy v3 lag-free — click ⚡ button! <<") end) notify("AdminJoy v3 loaded — click ⚡ or Right-Ctrl", ACCENT) print("[AdminJoy v3] Lag-free GUI edition loaded. No external scripts. WASD always active.") -- Clean exit: script returns nil (no leftover value in execution or system output) return nil