Universal Script – (BETA) - Verified script for Universal Roblox
Key RequiredUniversal

Universal Script – (BETA)

Universal Scriptaguywhomaypostscripaguywhomaypostscrip 953 views 1.6K executesUpdated Oct 18, 2026
Unrated
00
Lua Script•920 lines (35702 chars)
--[[
    ========================================================
       [ KERNEL CORE // NEXUS CLIENT v11.7 ]
       Type 'help' in the console or use prefix '.'
       Type 'settings' or 'ezload' to open panels
    ========================================================
]]

print("[Nexus] Initializing kernel framework v11.7...")

-- Services
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local Lighting = game:GetService("Lighting")
local TeleportService = game:GetService("TeleportService")
local CoreGui = game:GetService("CoreGui")
local Workspace = game:GetService("Workspace")
local TweenService = game:GetService("TweenService")

local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")
local Camera = Workspace.CurrentCamera

--------------------------------------------------------------------------------
-- 1. CONFIGURATION & STATE TABLE
--------------------------------------------------------------------------------
local NexusConfig = {
    ESP_Enabled = true,
    Tracers_Enabled = true,
    Box_Enabled = true,
    TeamCheck = false,
    ESP_Color = Color3.fromRGB(0, 170, 255),
}

--------------------------------------------------------------------------------
-- 2. GUI FRAMEWORK (HUD & DRAGGABLE MATRIX WINDOW)
--------------------------------------------------------------------------------
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "Nexus_CoreUI"
screenGui.ResetOnSpawn = false
screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling

pcall(function()
    if gethui then
        screenGui.Parent = gethui()
    else
        screenGui.Parent = CoreGui
    end
end)
if not screenGui.Parent then
    screenGui.Parent = PlayerGui
end

--------------------------------------------------------------------------------
-- 3. ANIMATED LOADING SCREEN
--------------------------------------------------------------------------------
local loadScreen = Instance.new("Frame")
loadScreen.Name = "LoadingScreen"
loadScreen.Size = UDim2.new(1, 0, 1, 0)
loadScreen.BackgroundColor3 = Color3.fromRGB(5, 5, 8)
loadScreen.ZIndex = 100
loadScreen.Parent = screenGui

local loadBox = Instance.new("Frame")
loadBox.AnchorPoint = Vector2.new(0.5, 0.5)
loadBox.Position = UDim2.new(0.5, 0, 0.5, 0)
loadBox.Size = UDim2.new(0, 320, 0, 120)
loadBox.BackgroundColor3 = Color3.fromRGB(10, 10, 14)
loadBox.BorderSizePixel = 0
loadBox.ZIndex = 101
loadBox.Parent = loadScreen

local lbCorner = Instance.new("UICorner")
lbCorner.CornerRadius = UDim.new(0, 8)
lbCorner.Parent = loadBox

local lbStroke = Instance.new("UIStroke")
lbStroke.Color = Color3.fromRGB(0, 170, 255)
lbStroke.Thickness = 1.5
lbStroke.Parent = loadBox

local loadTitle = Instance.new("TextLabel")
loadTitle.Size = UDim2.new(1, 0, 0, 40)
loadTitle.Position = UDim2.new(0, 0, 0, 15)
loadTitle.BackgroundTransparency = 1
loadTitle.Font = Enum.Font.Code
loadTitle.TextSize = 15
loadTitle.TextColor3 = Color3.fromRGB(0, 170, 255)
loadTitle.Text = "// LOADING NEXUS KERNEL..."
loadTitle.ZIndex = 102
loadTitle.Parent = loadBox

local barBg = Instance.new("Frame")
barBg.Position = UDim2.new(0, 20, 0, 75)
barBg.Size = UDim2.new(1, -40, 0, 6)
barBg.BackgroundColor3 = Color3.fromRGB(20, 20, 30)
barBg.BorderSizePixel = 0
barBg.ZIndex = 102
barBg.Parent = loadBox

local barBgCorner = Instance.new("UICorner")
barBgCorner.CornerRadius = UDim.new(1, 0)
barBgCorner.Parent = barBg

local loadFill = Instance.new("Frame")
loadFill.Size = UDim2.new(0, 0, 1, 0)
loadFill.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
loadFill.BorderSizePixel = 0
loadFill.ZIndex = 103
loadFill.Parent = barBg

local fillCorner = Instance.new("UICorner")
fillCorner.CornerRadius = UDim.new(1, 0)
fillCorner.Parent = loadFill

task.spawn(function()
    local tweenInfo = TweenInfo.new(1.2, Enum.EasingStyle.Quart, Enum.EasingDirection.Out)
    TweenService:Create(loadFill, tweenInfo, {Size = UDim2.new(1, 0, 1, 0)}):Play()
    task.wait(1.4)
    
    local fadeInfo = TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
    TweenService:Create(loadScreen, fadeInfo, {BackgroundTransparency = 1}):Play()
    TweenService:Create(loadBox, fadeInfo, {BackgroundTransparency = 1}):Play()
    TweenService:Create(lbStroke, fadeInfo, {Transparency = 1}):Play()
    TweenService:Create(loadTitle, fadeInfo, {TextTransparency = 1}):Play()
    TweenService:Create(barBg, fadeInfo, {BackgroundTransparency = 1}):Play()
    TweenService:Create(loadFill, fadeInfo, {BackgroundTransparency = 1}):Play()
    task.wait(0.5)
    loadScreen:Destroy()
end)

--------------------------------------------------------------------------------
-- 4. MAIN TERMINAL WINDOW FRAME
--------------------------------------------------------------------------------
local mainFrame = Instance.new("Frame")
mainFrame.Name = "MainFrame"
mainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
mainFrame.Position = UDim2.new(0.5, 0, 0.35, 0)
mainFrame.Size = UDim2.new(0, 620, 0, 380)
mainFrame.BackgroundColor3 = Color3.fromRGB(10, 10, 12)
mainFrame.BackgroundTransparency = 0.1
mainFrame.Visible = true
mainFrame.Parent = screenGui

local uiCorner = Instance.new("UICorner")
uiCorner.CornerRadius = UDim.new(0, 6)
uiCorner.Parent = mainFrame

local uiStroke = Instance.new("UIStroke")
uiStroke.Color = Color3.fromRGB(0, 170, 255)
uiStroke.Thickness = 1.5
uiStroke.Transparency = 0.1
uiStroke.Parent = mainFrame

local titleBar = Instance.new("TextLabel")
titleBar.Name = "TitleBar"
titleBar.Size = UDim2.new(1, 0, 0, 35)
titleBar.BackgroundColor3 = Color3.fromRGB(18, 20, 26)
titleBar.BackgroundTransparency = 0.2
titleBar.Font = Enum.Font.Code
titleBar.TextSize = 13
titleBar.TextColor3 = Color3.fromRGB(0, 170, 255)
titleBar.Text = "  // NEXUS KERNEL [STATUS: ACTIVE] - Press [DELETE] to Toggle"
titleBar.TextXAlignment = Enum.TextXAlignment.Left
titleBar.Parent = mainFrame

local titleCorner = Instance.new("UICorner")
titleCorner.CornerRadius = UDim.new(0, 6)
titleCorner.Parent = titleBar

-- Dragging Logic
local dragging, dragInput, dragStart, startPos
titleBar.InputBegan:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 then
        dragging = true
        dragStart = input.Position
        startPos = mainFrame.Position
        input.Changed:Connect(function()
            if input.UserInputState == Enum.UserInputState.End then
                dragging = false
            end
        end)
    end
end)

titleBar.InputChanged:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseMovement then
        dragInput = input
    end
end)

UserInputService.InputChanged:Connect(function(input)
    if input == dragInput and dragging then
        local delta = input.Position - dragStart
        mainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
    end
end)

-- Console Scroll Log
local scrollLog = Instance.new("ScrollingFrame")
scrollLog.Name = "ScrollLog"
scrollLog.Position = UDim2.new(0, 10, 0, 45)
scrollLog.Size = UDim2.new(1, -20, 1, -110)
scrollLog.BackgroundColor3 = Color3.fromRGB(5, 5, 8)
scrollLog.BackgroundTransparency = 0.5
scrollLog.BorderSizePixel = 0
scrollLog.CanvasSize = UDim2.new(0, 0, 0, 0)
scrollLog.AutomaticCanvasSize = Enum.AutomaticSize.Y
scrollLog.ScrollBarThickness = 3
scrollLog.Parent = mainFrame

local logLayout = Instance.new("UIListLayout")
logLayout.SortOrder = Enum.SortOrder.LayoutOrder
logLayout.Padding = UDim.new(0, 3)
logLayout.Parent = scrollLog

local logPadding = Instance.new("UIPadding")
logPadding.PaddingLeft = UDim.new(0, 6)
logPadding.PaddingRight = UDim.new(0, 6)
logPadding.PaddingTop = UDim.new(0, 6)
logPadding.PaddingBottom = UDim.new(0, 6)
logPadding.Parent = scrollLog

-- Command Input Field
local inputContainer = Instance.new("Frame")
inputContainer.Name = "InputContainer"
inputContainer.Position = UDim2.new(0, 10, 1, -55)
inputContainer.Size = UDim2.new(1, -20, 0, 40)
inputContainer.BackgroundColor3 = Color3.fromRGB(15, 15, 20)
inputContainer.Parent = mainFrame

local inputCorner = Instance.new("UICorner")
inputCorner.CornerRadius = UDim.new(0, 4)
inputCorner.Parent = inputContainer

local inputStroke = Instance.new("UIStroke")
inputStroke.Color = Color3.fromRGB(0, 170, 255)
inputStroke.Thickness = 1
inputStroke.Transparency = 0.5
inputStroke.Parent = inputContainer

local commandTextBox = Instance.new("TextBox")
commandTextBox.Name = "CommandInput"
commandTextBox.Size = UDim2.new(1, -12, 1, 0)
commandTextBox.Position = UDim2.new(0, 6, 0, 0)
commandTextBox.BackgroundTransparency = 1
commandTextBox.Font = Enum.Font.Code
commandTextBox.TextSize = 13
commandTextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
commandTextBox.PlaceholderText = "Type command here... (e.g. .help, .settings, .ezload)"
commandTextBox.PlaceholderColor3 = Color3.fromRGB(100, 100, 110)
commandTextBox.TextXAlignment = Enum.TextXAlignment.Left
commandTextBox.ClearTextOnFocus = false
commandTextBox.Parent = inputContainer

--------------------------------------------------------------------------------
-- 5. SETTINGS PANEL
--------------------------------------------------------------------------------
local settingsFrame = Instance.new("Frame")
settingsFrame.Name = "SettingsPanel"
settingsFrame.AnchorPoint = Vector2.new(0.5, 0.5)
settingsFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
settingsFrame.Size = UDim2.new(0, 400, 0, 300)
settingsFrame.BackgroundColor3 = Color3.fromRGB(12, 12, 16)
settingsFrame.BackgroundTransparency = 1
settingsFrame.Visible = false
settingsFrame.Parent = screenGui

local settingsCorner = Instance.new("UICorner")
settingsCorner.CornerRadius = UDim.new(0, 8)
settingsCorner.Parent = settingsFrame

local settingsStroke = Instance.new("UIStroke")
settingsStroke.Color = Color3.fromRGB(0, 170, 255)
settingsStroke.Thickness = 1.5
settingsStroke.Transparency = 1
settingsStroke.Parent = settingsFrame

local settingsTitle = Instance.new("TextLabel")
settingsTitle.Size = UDim2.new(1, 0, 0, 35)
settingsTitle.BackgroundColor3 = Color3.fromRGB(18, 20, 26)
settingsTitle.Font = Enum.Font.Code
settingsTitle.TextSize = 13
settingsTitle.TextColor3 = Color3.fromRGB(0, 170, 255)
settingsTitle.Text = "  // NEXUS CONFIGURATION PANEL"
settingsTitle.TextXAlignment = Enum.TextXAlignment.Left
settingsTitle.Parent = settingsFrame

local settingsTitleCorner = Instance.new("UICorner")
settingsTitleCorner.CornerRadius = UDim.new(0, 8)
settingsTitleCorner.Parent = settingsTitle

local closeSettingsBtn = Instance.new("TextButton")
closeSettingsBtn.Size = UDim2.new(0, 30, 0, 35)
closeSettingsBtn.Position = UDim2.new(1, -30, 0, 0)
closeSettingsBtn.BackgroundTransparency = 1
closeSettingsBtn.Font = Enum.Font.Code
closeSettingsBtn.TextSize = 14
closeSettingsBtn.TextColor3 = Color3.fromRGB(255, 50, 50)
closeSettingsBtn.Text = "X"
closeSettingsBtn.Parent = settingsFrame

closeSettingsBtn.MouseButton1Click:Connect(function()
    local twInfo = TweenInfo.new(0.25, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
    TweenService:Create(settingsFrame, twInfo, {BackgroundTransparency = 1}):Play()
    TweenService:Create(settingsStroke, twInfo, {Transparency = 1}):Play()
    task.wait(0.25)
    settingsFrame.Visible = false
end)

local settingsLayoutContainer = Instance.new("ScrollingFrame")
settingsLayoutContainer.Position = UDim2.new(0, 15, 0, 50)
settingsLayoutContainer.Size = UDim2.new(1, -30, 1, -65)
settingsLayoutContainer.BackgroundTransparency = 1
settingsLayoutContainer.CanvasSize = UDim2.new(0, 0, 0, 0)
settingsLayoutContainer.AutomaticCanvasSize = Enum.AutomaticSize.Y
settingsLayoutContainer.ScrollBarThickness = 2
settingsLayoutContainer.Parent = settingsFrame

local sLayout = Instance.new("UIListLayout")
sLayout.SortOrder = Enum.SortOrder.LayoutOrder
sLayout.Padding = UDim.new(0, 10)
sLayout.Parent = settingsLayoutContainer

local function createToggleSetting(labelName, initialValue, callback)
    local toggleBtn = Instance.new("TextButton")
    toggleBtn.Size = UDim2.new(1, 0, 0, 35)
    toggleBtn.BackgroundColor3 = Color3.fromRGB(20, 20, 28)
    toggleBtn.Font = Enum.Font.Code
    toggleBtn.TextSize = 12
    toggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
    toggleBtn.TextXAlignment = Enum.TextXAlignment.Left
    toggleBtn.Text = "   " .. labelName .. ": " .. (initialValue and "[ON]" or "[OFF]")
    toggleBtn.Parent = settingsLayoutContainer
    
    local tCorner = Instance.new("UICorner")
    tCorner.CornerRadius = UDim.new(0, 4)
    tCorner.Parent = toggleBtn
    
    local state = initialValue
    toggleBtn.MouseButton1Click:Connect(function()
        state = not state
        toggleBtn.Text = "   " .. labelName .. ": " .. (state and "[ON]" or "[OFF]")
        callback(state)
    end)
end

createToggleSetting("ESP Master Switch", NexusConfig.ESP_Enabled, function(state) NexusConfig.ESP_Enabled = state end)
createToggleSetting("Box ESP", NexusConfig.Box_Enabled, function(state) NexusConfig.Box_Enabled = state end)
createToggleSetting("Tracers", NexusConfig.Tracers_Enabled, function(state) NexusConfig.Tracers_Enabled = state end)
createToggleSetting("Team Check", NexusConfig.TeamCheck, function(state) NexusConfig.TeamCheck = state end)

--------------------------------------------------------------------------------
-- 6. EZLOAD PANEL (Script Hub without Crasher)
--------------------------------------------------------------------------------
local ezloadFrame = Instance.new("Frame")
ezloadFrame.Name = "EzLoadPanel"
ezloadFrame.AnchorPoint = Vector2.new(0.5, 0.5)
ezloadFrame.Position = UDim2.new(0.5, 250, 0.35, 0)
ezloadFrame.Size = UDim2.new(0, 260, 0, 310)
ezloadFrame.BackgroundColor3 = Color3.fromRGB(12, 12, 16)
ezloadFrame.BackgroundTransparency = 1
ezloadFrame.Visible = false
ezloadFrame.Parent = screenGui

local ezCorner = Instance.new("UICorner")
ezCorner.CornerRadius = UDim.new(0, 8)
ezCorner.Parent = ezloadFrame

local ezStroke = Instance.new("UIStroke")
ezStroke.Color = Color3.fromRGB(0, 255, 120)
ezStroke.Thickness = 1.5
ezStroke.Transparency = 1
ezStroke.Parent = ezloadFrame

local ezTitle = Instance.new("TextLabel")
ezTitle.Size = UDim2.new(1, 0, 0, 35)
ezTitle.BackgroundColor3 = Color3.fromRGB(18, 20, 26)
ezTitle.Font = Enum.Font.Code
ezTitle.TextSize = 13
ezTitle.TextColor3 = Color3.fromRGB(0, 255, 120)
ezTitle.Text = "  // EZLOAD SCRIPT HUB"
ezTitle.TextXAlignment = Enum.TextXAlignment.Left
ezTitle.Parent = ezloadFrame

local ezTitleCorner = Instance.new("UICorner")
ezTitleCorner.CornerRadius = UDim.new(0, 8)
ezTitleCorner.Parent = ezTitle

local closeEzBtn = Instance.new("TextButton")
closeEzBtn.Size = UDim2.new(0, 30, 0, 35)
closeEzBtn.Position = UDim2.new(1, -30, 0, 0)
closeEzBtn.BackgroundTransparency = 1
closeEzBtn.Font = Enum.Font.Code
closeEzBtn.TextSize = 14
closeEzBtn.TextColor3 = Color3.fromRGB(255, 50, 50)
closeEzBtn.Text = "X"
closeEzBtn.Parent = ezloadFrame

closeEzBtn.MouseButton1Click:Connect(function()
    local twInfo = TweenInfo.new(0.25, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
    TweenService:Create(ezloadFrame, twInfo, {BackgroundTransparency = 1}):Play()
    TweenService:Create(ezStroke, twInfo, {Transparency = 1}):Play()
    task.wait(0.25)
    ezloadFrame.Visible = false
end)

local ezScrollContainer = Instance.new("ScrollingFrame")
ezScrollContainer.Position = UDim2.new(0, 10, 0, 45)
ezScrollContainer.Size = UDim2.new(1, -20, 1, -55)
ezScrollContainer.BackgroundTransparency = 1
ezScrollContainer.CanvasSize = UDim2.new(0, 0, 0, 0)
ezScrollContainer.AutomaticCanvasSize = Enum.AutomaticSize.Y
ezScrollContainer.ScrollBarThickness = 2
ezScrollContainer.Parent = ezloadFrame

local ezLayout = Instance.new("UIListLayout")
ezLayout.SortOrder = Enum.SortOrder.LayoutOrder
ezLayout.Padding = UDim.new(0, 8)
ezLayout.Parent = ezScrollContainer

local function addEzButton(name, callback)
    local btn = Instance.new("TextButton")
    btn.Size = UDim2.new(1, 0, 0, 40)
    btn.BackgroundColor3 = Color3.fromRGB(20, 25, 32)
    btn.Font = Enum.Font.Code
    btn.TextSize = 12
    btn.TextColor3 = Color3.fromRGB(255, 255, 255)
    btn.Text = name
    btn.Parent = ezScrollContainer
    
    local c = Instance.new("UICorner")
    c.CornerRadius = UDim.new(0, 6)
    c.Parent = btn
    
    btn.MouseButton1Click:Connect(callback)
end

-- Wallhop Macro State & Front-Facing Detection Loop
local wallhopActive = false
local wallhopConn = nil

addEzButton("Toggle Wallhop Macro", function()
    wallhopActive = not wallhopActive
    if wallhopActive then
        wallhopConn = RunService.RenderStepped:Connect(function()
            local char = LocalPlayer.Character
            if not char then return end
            local hrp = char:FindFirstChild("HumanoidRootPart")
            local hum = char:FindFirstChildOfClass("Humanoid")
            if not hrp or not hum then return end

            local forwardPos = hrp.Position + (hrp.CFrame.LookVector * 3) + Vector3.new(0, 2, 0)
            local params = OverlapParams.new()
            params.FilterDescendantsInstances = {char}
            params.FilterType = Enum.RaycastFilterType.Exclude
            
            local scanCFrame = CFrame.new(forwardPos)
            local scanSize = Vector3.new(3, 4, 3)
            local frontParts = Workspace:GetPartBoundsInBox(scanCFrame, scanSize, params)
            
            local stackedPartsCount = 0
            for _, part in ipairs(frontParts) do
                if part:IsA("BasePart") then
                    stackedPartsCount = stackedPartsCount + 1
                end
            end

            if stackedPartsCount >= 2 then
                hum:ChangeState(Enum.HumanoidStateType.Jumping)
                
                local targetCF = CFrame.new(hrp.Position, Vector3.new(frontParts[1].Position.X, hrp.Position.Y, frontParts[1].Position.Z))
                local tweenInfo = TweenInfo.new(0.1, Enum.EasingStyle.Sine, Enum.EasingDirection.Out)
                
                TweenService:Create(hrp, tweenInfo, {CFrame = targetCF}):Play()
                TweenService:Create(Camera, tweenInfo, {CFrame = Camera.CFrame * CFrame.Angles(0, math.rad(math.random(-15, 15)), 0)}):Play()
            end
        end)
        print("[EzLoad]: Wallhop Macro ENABLED.")
    else
        if wallhopConn then
            wallhopConn:Disconnect()
            wallhopConn = nil
        end
        print("[EzLoad]: Wallhop Macro DISABLED.")
    end
end)

addEzButton("Load Infinite Yield", function()
    pcall(function()
        loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-Infinite-Yield-43437"))()
    end)
end)

addEzButton("M1 Reset", function()
    pcall(function()
        loadstring(game:HttpGet("https://rawscripts.net/raw/The-Strongest-Battlegrounds-TSB-OP-SIDE-DASH-BYPASS-FOR-M1-RESET-62113"))()
    end)
end)

addEzButton("TSB Luna Hub", function()
    pcall(function()
        loadstring(game:HttpGet("https://raw.githubusercontent.com/Emerson2-creator/Scripts-Roblox/refs/heads/main/TSBLuna.lua"))()
    end)
end)

--------------------------------------------------------------------------------
-- 7. LOGGING ENGINE
--------------------------------------------------------------------------------
local function logMessage(text, color)
    color = color or Color3.fromRGB(200, 200, 210)
    local label = Instance.new("TextLabel")
    label.Size = UDim2.new(1, 0, 0, 20)
    label.BackgroundTransparency = 1
    label.Font = Enum.Font.Code
    label.TextSize = 12
    label.TextColor3 = color
    label.TextXAlignment = Enum.TextXAlignment.Left
    label.TextWrapped = true
    label.Text = "[KERNEL]: " .. tostring(text)
    label.Parent = scrollLog
    scrollLog.CanvasPosition = Vector2.new(0, scrollLog.AbsoluteCanvasSize.Y)
end

logMessage("Nexus Kernel Online. Type 'help', 'settings', or 'ezload'.", Color3.fromRGB(0, 200, 255))

--------------------------------------------------------------------------------
-- 8. ESP & TRACER SYSTEM
--------------------------------------------------------------------------------
local espDrawings = {}

local function createESP(player)
    if espDrawings[player] then return end
    local drawings = {
        Box = Drawing.new("Square"),
        Tracer = Drawing.new("Line")
    }
    drawings.Box.Visible = false
    drawings.Box.Thickness = 1.5
    drawings.Box.Filled = false
    drawings.Tracer.Visible = false
    drawings.Tracer.Thickness = 1.5
    espDrawings[player] = drawings
end

local function removeESP(player)
    if espDrawings[player] then
        for _, drawing in pairs(espDrawings[player]) do
            drawing:Remove()
        end
        espDrawings[player] = nil
    end
end

Players.PlayerRemoving:Connect(removeESP)

RunService.RenderStepped:Connect(function()
    for _, player in ipairs(Players:GetPlayers()) do
        if player ~= LocalPlayer then
            if not espDrawings[player] then
                createESP(player)
            end
            
            local drawings = espDrawings[player]
            local char = player.Character
            local rootPart = char and char:FindFirstChild("HumanoidRootPart")
            local humanoid = char and char:FindFirstChildOfClass("Humanoid")
            
            local isTeammate = NexusConfig.TeamCheck and player.Team == LocalPlayer.Team
            
            if NexusConfig.ESP_Enabled and char and rootPart and humanoid and humanoid.Health > 0 and not isTeammate then
                local vector, onScreen = Camera:WorldToViewportPoint(rootPart.Position)
                
                if onScreen then
                    if NexusConfig.Box_Enabled then
                        local head = char:FindFirstChild("Head")
                        if head then
                            local headPos = Camera:WorldToViewportPoint(head.Position + Vector3.new(0, 0.5, 0))
                            local legPos = Camera:WorldToViewportPoint(rootPart.Position - Vector3.new(0, 3, 0))
                            local height = math.abs(headPos.Y - legPos.Y)
                            local width = height / 2
                            
                            drawings.Box.Size = Vector2.new(width, height)
                            drawings.Box.Position = Vector2.new(vector.X - width / 2, headPos.Y)
                            drawings.Box.Color = NexusConfig.ESP_Color
                            drawings.Box.Visible = true
                        end
                    else
                        drawings.Box.Visible = false
                    end
                    
                    if NexusConfig.Tracers_Enabled then
                        local viewportSize = Camera.ViewportSize
                        local origin = Vector2.new(viewportSize.X / 2, viewportSize.Y)
                        
                        drawings.Tracer.From = origin
                        drawings.Tracer.To = Vector2.new(vector.X, vector.Y)
                        drawings.Tracer.Color = NexusConfig.ESP_Color
                        drawings.Tracer.Visible = true
                    else
                        drawings.Tracer.Visible = false
                    end
                else
                    drawings.Box.Visible = false
                    drawings.Tracer.Visible = false
                end
            else
                drawings.Box.Visible = false
                drawings.Tracer.Visible = false
            end
        end
    end
end)

--------------------------------------------------------------------------------
-- 9. SMART PLAYER FINDER
--------------------------------------------------------------------------------
local function findPlayer(query)
    if not query or query == "" then return nil end
    query = string.lower(query)
    
    for _, player in ipairs(Players:GetPlayers()) do
        if string.lower(player.Name) == query or string.lower(player.DisplayName) == query then
            return player
        end
    end
    
    for _, player in ipairs(Players:GetPlayers()) do
        local nameLower = string.lower(player.Name)
        local displayLower = string.lower(player.DisplayName)
        if string.sub(nameLower, 1, #query) == query or string.sub(displayLower, 1, #query) == query then
            return player
        end
    end
    
    for _, player in ipairs(Players:GetPlayers()) do
        local nameLower = string.lower(player.Name)
        local displayLower = string.lower(player.DisplayName)
        if string.find(nameLower, query, 1, true) or string.find(displayLower, query, 1, true) then
            return player
        end
    end
    
    return nil
end

--------------------------------------------------------------------------------
-- 10. COMMAND SUITE (Includes Fly & Unfly Commands)
--------------------------------------------------------------------------------
local Commands = {}
local noclipConn = nil
local isNoclip = false
local wallWalkActive = false
local wallWalkConn = nil
local waypoints = {}

-- Fly State Variables
local flying = false
local flySpeed = 50
local flyConnection = nil
local bg, bv

local function startFly()
    local char = LocalPlayer.Character
    if not char then return end
    local hrp = char:FindFirstChild("HumanoidRootPart")
    local hum = char:FindFirstChildOfClass("Humanoid")
    if not hrp or not hum then return end

    if flying then stopFly() end
    flying = true
    hum.PlatformStand = true

    bg = Instance.new("BodyGyro")
    bg.P = 9e4
    bg.maxTorque = Vector3.new(9e4, 9e4, 9e4)
    bg.cframe = hrp.CFrame
    bg.Parent = hrp

    bv = Instance.new("BodyVelocity")
    bv.velocity = Vector3.new(0, 0, 0)
    bv.maxForce = Vector3.new(9e4, 9e4, 9e4)
    bv.Parent = hrp

    flyConnection = RunService.RenderStepped:Connect(function()
        if not flying or not char or not hrp.Parent then return end
        local camCF = Camera.CFrame
        local moveDir = Vector3.new()

        if UserInputService:IsKeyDown(Enum.KeyCode.W) then
            moveDir = moveDir + camCF.LookVector
        end
        if UserInputService:IsKeyDown(Enum.KeyCode.S) then
            moveDir = moveDir - camCF.LookVector
        end
        if UserInputService:IsKeyDown(Enum.KeyCode.A) then
            moveDir = moveDir - camCF.RightVector
        end
        if UserInputService:IsKeyDown(Enum.KeyCode.D) then
            moveDir = moveDir + camCF.RightVector
        end
        if UserInputService:IsKeyDown(Enum.KeyCode.Space) then
            moveDir = moveDir + Vector3.new(0, 1, 0)
        end
        if UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) then
            moveDir = moveDir - Vector3.new(0, 1, 0)
        end

        bv.velocity = moveDir * flySpeed
        bg.cframe = camCF
    end)
    logMessage("Fly mode: ENABLED", Color3.fromRGB(0, 255, 120))
end

local function stopFly()
    flying = false
    if flyConnection then
        flyConnection:Disconnect()
        flyConnection = nil
    end
    if LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid") then
        LocalPlayer.Character:FindFirstChildOfClass("Humanoid").PlatformStand = false
    end
    if bg then bg:Destroy() bg = nil end
    if bv then bv:Destroy() bv = nil end
    logMessage("Fly mode: DISABLED", Color3.fromRGB(255, 50, 50))
end

local function registerCommand(name, description, callback)
    Commands[string.lower(name)] = { Description = description, Callback = callback }
end

registerCommand("help", "Displays all active client commands.", function(args)
    logMessage("--- AVAILABLE COMMANDS ---", Color3.fromRGB(0, 170, 255))
    for cmd, info in pairs(Commands) do
        logMessage(string.format(".%s -> %s", cmd, info.Description), Color3.fromRGB(180, 220, 255))
    end
end)

registerCommand("settings", "Opens the graphic interface configuration panel.", function(args)
    if settingsFrame.Visible then
        local twInfo = TweenInfo.new(0.25, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
        TweenService:Create(settingsFrame, twInfo, {BackgroundTransparency = 1}):Play()
        TweenService:Create(settingsStroke, twInfo, {Transparency = 1}):Play()
        task.wait(0.25)
        settingsFrame.Visible = false
    else
        settingsFrame.Visible = true
        local twInfo = TweenInfo.new(0.25, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
        TweenService:Create(settingsFrame, twInfo, {BackgroundTransparency = 0.05}):Play()
        TweenService:Create(settingsStroke, twInfo, {Transparency = 0}):Play()
    end
    logMessage("Settings panel toggled.", Color3.fromRGB(0, 200, 255))
end)

registerCommand("ezload", "Toggles the EzLoad script hub panel.", function(args)
    if ezloadFrame.Visible then
        local twInfo = TweenInfo.new(0.25, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
        TweenService:Create(ezloadFrame, twInfo, {BackgroundTransparency = 1}):Play()
        TweenService:Create(ezStroke, twInfo, {Transparency = 1}):Play()
        task.wait(0.25)
        ezloadFrame.Visible = false
    else
        ezloadFrame.Visible = true
        local twInfo = TweenInfo.new(0.25, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
        TweenService:Create(ezloadFrame, twInfo, {BackgroundTransparency = 0.05}):Play()
        TweenService:Create(ezStroke, twInfo, {Transparency = 0}):Play()
    end
    logMessage("EzLoad panel toggled.", Color3.fromRGB(0, 255, 120))
end)

registerCommand("fly", "Enables free-cam flight mode (.fly [speed]).", function(args)
    if args[1] then
        flySpeed = tonumber(args[1]) or 50
    end
    startFly()
end)

registerCommand("unfly", "Disables free-cam flight mode.", function(args)
    stopFly()
end)

registerCommand("clear", "Cleans the execution terminal logs.", function(args)
    for _, child in ipairs(scrollLog:GetChildren()) do
        if child:IsA("TextLabel") then child:Destroy() end
    end
    logMessage("Terminal cleared.", Color3.fromRGB(0, 255, 120))
end)

registerCommand("speed", "Bypasses client walkspeed limits (.speed [num]).", function(args)
    local val = tonumber(args[1])
    if val and LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid") then
        LocalPlayer.Character.Humanoid.WalkSpeed = val
        logMessage("WalkSpeed modified to: " .. val, Color3.fromRGB(0, 255, 120))
    else
        logMessage("Syntax Error: .speed [number]", Color3.fromRGB(255, 50, 50))
    end
end)

registerCommand("jump", "Modifies character jump height (.jump [num]).", function(args)
    local val = tonumber(args[1])
    if val and LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid") then
        LocalPlayer.Character.Humanoid.JumpPower = val
        logMessage("JumpPower modified to: " .. val, Color3.fromRGB(0, 255, 120))
    else
        logMessage("Syntax Error: .jump [number]", Color3.fromRGB(255, 50, 50))
    end
end)

registerCommand("noclip", "Toggles collision bounds off for all local parts.", function(args)
    isNoclip = not isNoclip
    if isNoclip then
        noclipConn = RunService.Stepped:Connect(function()
            if LocalPlayer.Character then
                for _, part in ipairs(LocalPlayer.Character:GetDescendants()) do
                    if part:IsA("BasePart") then part.CanCollide = false end
                end
            end
        end)
        logMessage("Noclip status: ENABLED", Color3.fromRGB(0, 255, 120))
    else
        if noclipConn then noclipConn:Disconnect() end
        logMessage("Noclip status: DISABLED", Color3.fromRGB(255, 50, 50))
    end
end)

registerCommand("god", "Bypasses health depletion locally.", function(args)
    local humanoid = LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
    if humanoid then
        humanoid.MaxHealth = math.huge
        humanoid.Health = math.huge
        logMessage("Godmode bypass applied.", Color3.fromRGB(0, 255, 120))
    else
        logMessage("Character humanoid not found.", Color3.fromRGB(255, 50, 50))
    end
end)

registerCommand("tp", "Teleports to target player (.tp [name]).", function(args)
    local targetQuery = args[1]
    local targetPlayer = findPlayer(targetQuery)
    if targetPlayer then
        if targetPlayer.Character and targetPlayer.Character:FindFirstChild("HumanoidRootPart") and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
            LocalPlayer.Character.HumanoidRootPart.CFrame = targetPlayer.Character.HumanoidRootPart.CFrame
            logMessage(string.format("Teleported to %s", targetPlayer.Name), Color3.fromRGB(0, 255, 120))
        else
            logMessage("Target player character is not spawned.", Color3.fromRGB(255, 50, 50))
        end
    else
        logMessage("Player not found matching: " .. tostring(targetQuery), Color3.fromRGB(255, 50, 50))
    end
end)

registerCommand("players", "Lists all active players.", function(args)
    logMessage("--- ONLINE PLAYERS ---", Color3.fromRGB(0, 170, 255))
    for _, player in ipairs(Players:GetPlayers()) do
        logMessage(string.format("User: %s | Display: %s", player.Name, player.DisplayName), Color3.fromRGB(200, 200, 220))
    end
end)

registerCommand("rejoin", "Forces instant reconnection.", function(args)
    logMessage("Executing server reconnect...", Color3.fromRGB(255, 220, 100))
    TeleportService:TeleportToPlaceInstance(game.PlaceId, game.JobId, LocalPlayer)
end)

--------------------------------------------------------------------------------
-- 11. INPUT INTERPRETER & TOGGLE
--------------------------------------------------------------------------------
commandTextBox.FocusLost:Connect(function(enterPressed)
    if not enterPressed then return end
    local rawText = commandTextBox.Text
    commandTextBox.Text = ""
    if #rawText == 0 then return end
    
    logMessage("> " .. rawText, Color3.fromRGB(220, 220, 220))
    
    local cleanText = rawText
    if string.sub(cleanText, 1, 1) == "." or string.sub(cleanText, 1, 1) == "/" then
        cleanText = string.sub(cleanText, 2)
    end
    
    local args = {}
    for word in string.gmatch(cleanText, "%S+") do table.insert(args, word) end
    local cmdName = string.lower(table.remove(args, 1) or "")
    
    if Commands[cmdName] then
        local success, err = pcall(function()
            Commands[cmdName].Callback(args)
        end)
        if not success then
            logMessage("Execution fault: " .. tostring(err), Color3.fromRGB(255, 50, 50))
        end
    else
        logMessage("Unknown directive: '" .. cmdName .. "'. Type 'help'.", Color3.fromRGB(255, 50, 50))
    end
    commandTextBox:CaptureFocus()
end)

local isMainVisible = true
UserInputService.InputBegan:Connect(function(input, gameProcessed)
    if input.KeyCode == Enum.KeyCode.Delete then
        isMainVisible = not isMainVisible
        local twInfo = TweenInfo.new(0.3, Enum.EasingStyle.Quart, Enum.EasingDirection.Out)
        if isMainVisible then
            mainFrame.Visible = true
            TweenService:Create(mainFrame, twInfo, {BackgroundTransparency = 0.1}):Play()
            TweenService:Create(uiStroke, twInfo, {Transparency = 0.1}):Play()
            commandTextBox:CaptureFocus()
        else
            local tw = TweenService:Create(mainFrame, twInfo, {BackgroundTransparency = 1})
            TweenService:Create(uiStroke, twInfo, {Transparency = 1}):Play()
            tw:Play()
            tw.Completed:Connect(function()
                if not isMainVisible then mainFrame.Visible = false end
            end)
        end
    end
end)

print("[Nexus] Terminal interface fully online. (can be modded but with credits)")

How to Execute Universal Script – (BETA)

Step 1: Copy Code: Click the Copy Code button in the viewer above to grab the clean Lua loadstring.

Step 2: Launch Executor: Open a compatible, unpatched executor. If you need one, check our Roblox Executors Directory.

Step 3: Join Experience: Launch Roblox and join Universal Script.

Step 4: Attach & Run: Attach/inject your executor into the Roblox process, paste the code into the script tab, and press Execute.

Created By

aguywhomaypostscrip
aguywhomaypostscrip
Script Creator
View Author Profile

Features & Information

Execute Universal Script – (BETA). Key system required, created by aguywhomaypostscrip, updated Oct 18, 2026. Tested and working on supported executors.

Script Changelog (1)

Create script

Community Comments (0)

No comments yet for this script.

Frequently Asked Questions

How do I execute Universal Script – (BETA) in Roblox?

To run Universal Script – (BETA), copy the Lua loadstring from the code viewer above, launch Roblox and join Universal Script, attach a working executor (such as Potassium, Solara, or Delta from our Executors directory), paste the code into your executor console, and click Execute.

Is Universal Script – (BETA) keyless or does it require an access key?

Universal Script – (BETA) requires an access key. You can retrieve the official key directly using the Get Script Key link provided above.

Is Universal Script – (BETA) currently safe and working?

This script is active and operational. Always test scripts using a secondary (alt) Roblox account to safeguard your main profile against anti-cheat bans.