KRNL EXECUTOR
Key RequiredUniversal

KRNL EXECUTOR

Universal ScriptH0zzl0rd_haxH0zzl0rd_hax 1.1K views 269 executesUpdated Feb 22, 2026
Unrated
00
Lua Script•165 lines (4956 chars)
local Player = game.Players.LocalPlayer
local PlayerGui = Player:WaitForChild("PlayerGui")

-- Initialize ScreenGui
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "KRNL"
ScreenGui.Parent = PlayerGui
ScreenGui.ResetOnSpawn = false
ScreenGui.IgnoreGuiInset = true

-- 1. Main Frame (Ultra Small Size: 378x221)
local MainFrame = Instance.new("Frame")
MainFrame.Name = "MainFrame"
MainFrame.Parent = ScreenGui
MainFrame.BackgroundColor3 = Color3.fromRGB(18, 18, 18)
MainFrame.BorderSizePixel = 0
MainFrame.Position = UDim2.new(0.5, -189, 0.5, -110)
MainFrame.Size = UDim2.new(0, 378, 0, 221)
MainFrame.Active = true
MainFrame.Draggable = true 

-- 2. Title Bar (Height: 20px)
local TitleBar = Instance.new("Frame")
TitleBar.Parent = MainFrame
TitleBar.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
TitleBar.BorderSizePixel = 0
TitleBar.Size = UDim2.new(1, 0, 0, 20)

local TitleLabel = Instance.new("TextLabel")
TitleLabel.Parent = TitleBar
TitleLabel.Text = "KRNL"
TitleLabel.TextColor3 = Color3.new(1, 1, 1)
TitleLabel.Size = UDim2.new(1, 0, 1, 0)
TitleLabel.BackgroundTransparency = 1
TitleLabel.Font = Enum.Font.SourceSansBold
TitleLabel.TextSize = 12

-- Minimize [-] and Close [x] Buttons
local function createTitleBtn(text, xPos)
    local btn = Instance.new("TextButton")
    btn.Parent = TitleBar
    btn.Text = text
    btn.Position = UDim2.new(1, xPos, 0, 0)
    btn.Size = UDim2.new(0, 20, 1, 0)
    btn.BackgroundTransparency = 1
    btn.TextColor3 = Color3.new(1, 1, 1)
    btn.TextSize = 10
    return btn
end

local MinimizeBtn = createTitleBtn("[ - ]", -40)
local CloseBtn = createTitleBtn("[ x ]", -20)

-- 3. Container
local Container = Instance.new("Frame")
Container.Name = "Container"
Container.Parent = MainFrame
Container.BackgroundTransparency = 1
Container.Position = UDim2.new(0, 0, 0, 20)
Container.Size = UDim2.new(1, 0, 1, -20)

-- Tab Bar (Removed "+" button)
local TabBar = Instance.new("Frame")
TabBar.Parent = Container
TabBar.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
TabBar.BorderSizePixel = 0
TabBar.Position = UDim2.new(0, 5, 0, 4)
TabBar.Size = UDim2.new(0, 275, 0, 18)

local TabLabel = Instance.new("TextLabel")
TabLabel.Text = "scriptlua.1  X"
TabLabel.Parent = TabBar
TabLabel.Size = UDim2.new(0, 65, 1, 0)
TabLabel.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
TabLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
TabLabel.Font = Enum.Font.SourceSans
TabLabel.TextSize = 10

-- 4. Script Editor
local Editor = Instance.new("TextBox")
Editor.Parent = Container
Editor.Position = UDim2.new(0, 5, 0, 26)
Editor.Size = UDim2.new(0, 275, 0, 145)
Editor.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
Editor.TextColor3 = Color3.fromRGB(200, 200, 200)
Editor.Text = 'print("Hello World")'
Editor.ClearTextOnFocus = false
Editor.MultiLine = true
Editor.TextXAlignment = Enum.TextXAlignment.Left
Editor.TextYAlignment = Enum.TextYAlignment.Top
Editor.Font = Enum.Font.Code
Editor.TextSize = 11

-- 5. Bottom Control Buttons
local function createBtn(name, xPos, width)
    local btn = Instance.new("TextButton")
    btn.Text = name
    btn.Parent = Container
    btn.Size = UDim2.new(0, width, 0, 20)
    btn.Position = UDim2.new(0, xPos, 1, -28)
    btn.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
    btn.TextColor3 = Color3.new(1, 1, 1)
    btn.BorderSizePixel = 0
    btn.TextSize = 9
    btn.Font = Enum.Font.SourceSansBold
    return btn
end

local ExecBtn = createBtn("Execute", 5, 55)
local ClearBtn = createBtn("Clear", 64, 55)
local SaveBtn = createBtn("Save File", 123, 55)
local LoadBtn = createBtn("Load File", 182, 55)
local InjectBtn = createBtn("Inject", 241, 55)
local OptionsBtn = createBtn("Options", 310, 60)

--- LOGIC & EVENTS ---

-- Minimize Logic (Image 2 style)
local isMinimized = false
MinimizeBtn.MouseButton1Click:Connect(function()
    isMinimized = not isMinimized
    if isMinimized then
        Container.Visible = false
        MainFrame.Size = UDim2.new(0, 378, 0, 20)
    else
        Container.Visible = true
        MainFrame.Size = UDim2.new(0, 378, 0, 221)
    end
end)

-- Close Button
CloseBtn.MouseButton1Click:Connect(function() 
    ScreenGui:Destroy() 
end)

-- Clear Button
ClearBtn.MouseButton1Click:Connect(function() 
    Editor.Text = "" 
end)

-- Inject Button (With English notification)
InjectBtn.MouseButton1Click:Connect(function()
    InjectBtn.Text = "Scanning..."
    task.wait(0.6)
    InjectBtn.Text = "Inject"
    
    local notification = Instance.new("Hint", PlayerGui)
    notification.Text = "inject success"
    task.wait(1.5)
    notification:Destroy()
end)

-- Execute Button
ExecBtn.MouseButton1Click:Connect(function()
    local code = Editor.Text
    local success, err = pcall(function()
        -- Note: loadstring must be enabled in ServerScriptService for this to run
        local func = loadstring(code)
        if func then func() end
    end)
    
    if not success then 
        warn("Execution Error: " .. err) 
    end
end)

Features & Information

Fe bypass
#Fe bypass#Not fe bypass

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts