PANEL BY YANZZ
Key RequiredUniversal

PANEL BY YANZZ

Universal Scriptyanzzzyanzzz 759 views 17.9K executesUpdated Sep 27, 2026
Unrated
00
Lua Script•949 lines (35076 chars)
-- ============================================================
-- PROTECT BY ZERO - ULTIMATE EDITION (BAGIAN 1 / 2)
-- CORE FRAMEWORK, ADVANCED VISUALS & CROSSHAIR ENGINE
-- ============================================================

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

local LocalPlayer = Players.LocalPlayer
local Camera = Workspace.CurrentCamera

-- Dynamic Shared State Engine
_G.PBZ_States = _G.PBZ_States or {
    -- Combat Configuration
    AimLock = false,
    Aimbot = false,
    AutoAimProximity = false,
    TriggerBot = false,
    SpinBot = false,
    AntiKnockback = false,
    HitboxExpander = false,
    KillAura = false,
    HitboxSize = 12,
    ProximityDist = 120,

    -- Visuals & Crosshair
    ESP = false,
    ESP_Tracers = false,
    TargetFOV = false,
    RainbowGUI = false,
    Fullbright = false,
    ThirdPerson = false,
    CustomFOV = 80,
    Crosshair = true,
    CrosshairSize = 10,
    CrosshairThickness = 2,
    CrosshairColor = Color3.fromRGB(255, 0, 60),

    -- Movement & Server Utilities
    InfJump = false,
    Noclip = false,
    SpeedBypass = false,
    AntiAFK = true,
    ServerLagNotifier = false,
    Speed = 16,
    JumpPower = 50
}

_G.PBZ_SelectedPlayer = nil
_G.PBZ_LoopBringTarget = nil
_G.PBZ_CurrentTarget = nil
_G.PBZ_HighlightedPlr = nil

local States = _G.PBZ_States
local TargetParent = pcall(function() return CoreGui end) and CoreGui or LocalPlayer:WaitForChild("PlayerGui")

if TargetParent:FindFirstChild("ProtectByZeroGui") then
    TargetParent.ProtectByZeroGui:Destroy()
end

-- ScreenGui Setup
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "ProtectByZeroGui"
ScreenGui.ResetOnSpawn = false
ScreenGui.DisplayOrder = 999
ScreenGui.Parent = TargetParent

-- Drawing Objects (Crosshair & FOV Overlay)
local CrosshairCircle = Drawing.new("Circle")
CrosshairCircle.Thickness = States.CrosshairThickness
CrosshairCircle.Color = States.CrosshairColor
CrosshairCircle.Filled = false
CrosshairCircle.Transparency = 0.9
CrosshairCircle.NumSides = 36
CrosshairCircle.Visible = false

local FOVCircle = Drawing.new("Circle")
FOVCircle.Thickness = 2
FOVCircle.Color = Color3.fromRGB(255, 0, 85)
FOVCircle.Filled = false
FOVCircle.Transparency = 0.7
FOVCircle.NumSides = 40
FOVCircle.Visible = false

_G.PBZ_Tracers = {}

-- Main Dashboard Interface
local MainFrame = Instance.new("Frame")
MainFrame.Name = "MainFrame"
MainFrame.Size = UDim2.new(0, 660, 0, 460)
MainFrame.Position = UDim2.new(0.5, -330, 0.5, -230)
MainFrame.BackgroundColor3 = Color3.fromRGB(10, 10, 15)
MainFrame.BackgroundTransparency = 0.08
MainFrame.BorderSizePixel = 0
MainFrame.Active = true
MainFrame.ClipsDescendants = false
MainFrame.Parent = ScreenGui

local MainCorner = Instance.new("UICorner")
MainCorner.CornerRadius = UDim.new(0, 16)
MainCorner.Parent = MainFrame

local MainStroke = Instance.new("UIStroke")
MainStroke.Color = Color3.fromRGB(255, 0, 85)
MainStroke.Thickness = 3
MainStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
MainStroke.Parent = MainFrame

-- Neon Background Banner
local BackgroundImg = Instance.new("ImageLabel")
BackgroundImg.Name = "BackgroundImage"
BackgroundImg.Size = UDim2.new(1, 0, 1, 0)
BackgroundImg.BackgroundTransparency = 1
BackgroundImg.Image = "rbxassetid://117247261795108"
BackgroundImg.ScaleType = Enum.ScaleType.Crop
BackgroundImg.ImageTransparency = 0.55
BackgroundImg.Parent = MainFrame

-- Floating Logo Toggle Button
local FloatingLogoBtn = Instance.new("ImageButton")
FloatingLogoBtn.Name = "FloatingLogoBtn"
FloatingLogoBtn.Size = UDim2.new(0, 58, 0, 58)
FloatingLogoBtn.Position = UDim2.new(0.04, 0, 0.25, 0)
FloatingLogoBtn.BackgroundColor3 = Color3.fromRGB(12, 12, 18)
FloatingLogoBtn.Image = "rbxassetid://117247261795108"
FloatingLogoBtn.Visible = false
FloatingLogoBtn.Active = true
FloatingLogoBtn.Parent = ScreenGui

local LogoCorner = Instance.new("UICorner")
LogoCorner.CornerRadius = UDim.new(1, 0)
LogoCorner.Parent = FloatingLogoBtn

local LogoStroke = Instance.new("UIStroke")
LogoStroke.Color = Color3.fromRGB(255, 0, 85)
LogoStroke.Thickness = 5
LogoStroke.Parent = FloatingLogoBtn

-- Drag Logic Floating Logo
local logoDragging, logoDragStart, logoStartPos
FloatingLogoBtn.InputBegan:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
        logoDragging = true
        logoDragStart = input.Position
        logoStartPos = FloatingLogoBtn.Position
    end
end)

UserInputService.InputChanged:Connect(function(input)
    if logoDragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
        local delta = input.Position - logoDragStart
        FloatingLogoBtn.Position = UDim2.new(logoStartPos.X.Scale, logoStartPos.X.Offset + delta.X, logoStartPos.Y.Scale, logoStartPos.Y.Offset + delta.Y)
    end
end)

UserInputService.InputEnded:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
        logoDragging = false
    end
end)

-- Top Navigation Bar
local TopBar = Instance.new("Frame")
TopBar.Name = "TopBar"
TopBar.Size = UDim2.new(1, 0, 0, 50)
TopBar.BackgroundColor3 = Color3.fromRGB(5, 5, 8)
TopBar.BorderSizePixel = 0
TopBar.Parent = MainFrame

local TopCorner = Instance.new("UICorner")
TopCorner.CornerRadius = UDim.new(0, 16)
TopCorner.Parent = TopBar

local TitleLabel = Instance.new("TextLabel")
TitleLabel.Size = UDim2.new(1, -120, 1, 0)
TitleLabel.Position = UDim2.new(0, 18, 0, 0)
TitleLabel.BackgroundTransparency = 1
TitleLabel.Text = "PROTECT BY ZERO [ULTRA NEON]"
TitleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
TitleLabel.Font = Enum.Font.FredokaOne
TitleLabel.TextSize = 16
TitleLabel.TextXAlignment = Enum.TextXAlignment.Left
TitleLabel.Parent = TopBar

local MinimizeBtn = Instance.new("TextButton")
MinimizeBtn.Size = UDim2.new(0, 32, 0, 28)
MinimizeBtn.Position = UDim2.new(1, -80, 0, 11)
MinimizeBtn.BackgroundColor3 = Color3.fromRGB(25, 25, 35)
MinimizeBtn.Text = "_"
MinimizeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
MinimizeBtn.Font = Enum.Font.FredokaOne
MinimizeBtn.TextSize = 14
MinimizeBtn.BorderSizePixel = 0
MinimizeBtn.Parent = TopBar

local MinCorner = Instance.new("UICorner")
MinCorner.CornerRadius = UDim.new(0, 8)
MinCorner.Parent = MinimizeBtn

local FoldBtn = Instance.new("TextButton")
FoldBtn.Size = UDim2.new(0, 32, 0, 28)
FoldBtn.Position = UDim2.new(1, -42, 0, 11)
FoldBtn.BackgroundColor3 = Color3.fromRGB(255, 0, 85)
FoldBtn.Text = "—"
FoldBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
FoldBtn.Font = Enum.Font.FredokaOne
FoldBtn.TextSize = 14
FoldBtn.BorderSizePixel = 0
FoldBtn.Parent = TopBar

local FoldCorner = Instance.new("UICorner")
FoldCorner.CornerRadius = UDim.new(0, 8)
FoldCorner.Parent = FoldBtn

-- TopBar Dragging Logic
local dragging, dragStart, startPos
TopBar.InputBegan:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
        dragging = true
        dragStart = input.Position
        startPos = MainFrame.Position
    end
end)

UserInputService.InputChanged:Connect(function(input)
    if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) 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)

UserInputService.InputEnded:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
        dragging = false
    end
end)

local ContentContainer = Instance.new("Frame")
ContentContainer.Name = "ContentContainer"
ContentContainer.Size = UDim2.new(1, -20, 1, -60)
ContentContainer.Position = UDim2.new(0, 10, 0, 54)
ContentContainer.BackgroundTransparency = 1
ContentContainer.Parent = MainFrame

-- Fold Engine - Ultra Thick Glow Stroke
local isFolded = false
FoldBtn.MouseButton1Click:Connect(function()
    isFolded = not isFolded
    if isFolded then
        FoldBtn.Text = "+"
        ContentContainer.Visible = false
        BackgroundImg.Visible = false
        
        TweenService:Create(MainFrame, TweenInfo.new(0.35, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {
            Size = UDim2.new(0, 340, 0, 50)
        }):Play()
        MainStroke.Thickness = 7.5
        MainStroke.Color = Color3.fromRGB(255, 0, 120)
    else
        FoldBtn.Text = "—"
        BackgroundImg.Visible = true
        MainStroke.Thickness = 3
        MainStroke.Color = Color3.fromRGB(255, 0, 85)
        
        local tw = TweenService:Create(MainFrame, TweenInfo.new(0.35, Enum.EasingStyle.Quart, Enum.EasingDirection.Out), {
            Size = UDim2.new(0, 660, 0, 460)
        })
        tw:Play()
        tw.Completed:Connect(function()
            if not isFolded then ContentContainer.Visible = true end
        end)
    end
end)

MinimizeBtn.MouseButton1Click:Connect(function()
    MainFrame.Visible = false
    FloatingLogoBtn.Visible = true
end)

FloatingLogoBtn.MouseButton1Click:Connect(function()
    FloatingLogoBtn.Visible = false
    MainFrame.Visible = true
end)

-- Navigation Sidebar
local Sidebar = Instance.new("Frame")
Sidebar.Size = UDim2.new(0, 135, 1, 0)
Sidebar.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
Sidebar.BackgroundTransparency = 0.65
Sidebar.BorderSizePixel = 0
Sidebar.Parent = ContentContainer

local SideCorner = Instance.new("UICorner")
SideCorner.CornerRadius = UDim.new(0, 12)
SideCorner.Parent = Sidebar

local SideList = Instance.new("UIListLayout")
SideList.Padding = UDim.new(0, 6)
SideList.Parent = Sidebar

local PageContainer = Instance.new("Frame")
PageContainer.Size = UDim2.new(1, -145, 1, 0)
PageContainer.Position = UDim2.new(0, 145, 0, 0)
PageContainer.BackgroundTransparency = 1
PageContainer.Parent = ContentContainer

_G.PBZ_Pages = {}

function _G.PBZ_CreateTab(name)
    local TabBtn = Instance.new("TextButton")
    TabBtn.Size = UDim2.new(1, 0, 0, 36)
    TabBtn.BackgroundColor3 = Color3.fromRGB(16, 16, 24)
    TabBtn.BackgroundTransparency = 0.3
    TabBtn.Text = name:upper()
    TabBtn.TextColor3 = Color3.fromRGB(180, 180, 200)
    TabBtn.Font = Enum.Font.FredokaOne
    TabBtn.TextSize = 11
    TabBtn.BorderSizePixel = 0
    TabBtn.Parent = Sidebar

    local TabCorner = Instance.new("UICorner")
    TabCorner.CornerRadius = UDim.new(0, 8)
    TabCorner.Parent = TabBtn

    local PageScroll = Instance.new("ScrollingFrame")
    PageScroll.Size = UDim2.new(1, 0, 1, 0)
    PageScroll.BackgroundTransparency = 1
    PageScroll.BorderSizePixel = 0
    PageScroll.ScrollBarThickness = 3
    PageScroll.ScrollBarImageColor3 = Color3.fromRGB(255, 0, 85)
    PageScroll.Visible = false
    PageScroll.Parent = PageContainer

    local UIGrid = Instance.new("UIGridLayout")
    UIGrid.CellSize = UDim2.new(0, 158, 0, 42)
    UIGrid.CellPadding = UDim2.new(0, 8, 0, 8)
    UIGrid.StartCorner = Enum.StartCorner.TopLeft
    UIGrid.FillDirection = Enum.FillDirection.Horizontal
    UIGrid.SortOrder = Enum.SortOrder.LayoutOrder
    UIGrid.Parent = PageScroll

    _G.PBZ_Pages[name] = {Btn = TabBtn, Page = PageScroll}

    TabBtn.MouseButton1Click:Connect(function()
        for _, p in pairs(_G.PBZ_Pages) do
            p.Page.Visible = false
            p.Btn.BackgroundColor3 = Color3.fromRGB(16, 16, 24)
            p.Btn.TextColor3 = Color3.fromRGB(180, 180, 200)
        end
        PageScroll.Visible = true
        TabBtn.BackgroundColor3 = Color3.fromRGB(255, 0, 85)
        TabBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
    end)

    return PageScroll
end

function _G.PBZ_CreateToggle(page, text, key, callback)
    local Btn = Instance.new("TextButton")
    Btn.BackgroundColor3 = Color3.fromRGB(20, 20, 28)
    Btn.BackgroundTransparency = 0.2
    Btn.Text = text:upper() .. ": OFF"
    Btn.TextColor3 = Color3.fromRGB(200, 200, 220)
    Btn.Font = Enum.Font.FredokaOne
    Btn.TextSize = 10
    Btn.BorderSizePixel = 0
    Btn.Parent = page

    local Corner = Instance.new("UICorner")
    Corner.CornerRadius = UDim.new(0, 8)
    Corner.Parent = Btn

    local Stroke = Instance.new("UIStroke")
    Stroke.Color = Color3.fromRGB(45, 45, 65)
    Stroke.Thickness = 1
    Stroke.Parent = Btn

    Btn.MouseButton1Click:Connect(function()
        States[key] = not States[key]
        if States[key] then
            Btn.Text = text:upper() .. ": ON"
            Btn.BackgroundColor3 = Color3.fromRGB(255, 0, 85)
            Btn.TextColor3 = Color3.fromRGB(255, 255, 255)
            Stroke.Color = Color3.fromRGB(255, 120, 160)
        else
            Btn.Text = text:upper() .. ": OFF"
            Btn.BackgroundColor3 = Color3.fromRGB(20, 20, 28)
            Btn.TextColor3 = Color3.fromRGB(200, 200, 220)
            Stroke.Color = Color3.fromRGB(45, 45, 65)
        end
        if callback then callback(States[key]) end
    end)
    return Btn
end

function _G.PBZ_CreateActionBtn(page, text, callback)
    local Btn = Instance.new("TextButton")
    Btn.BackgroundColor3 = Color3.fromRGB(28, 28, 40)
    Btn.BackgroundTransparency = 0.2
    Btn.Text = text:upper()
    Btn.TextColor3 = Color3.fromRGB(255, 255, 255)
    Btn.Font = Enum.Font.FredokaOne
    Btn.TextSize = 10
    Btn.BorderSizePixel = 0
    Btn.Parent = page

    local Corner = Instance.new("UICorner")
    Corner.CornerRadius = UDim.new(0, 8)
    Corner.Parent = Btn

    local Stroke = Instance.new("UIStroke")
    Stroke.Color = Color3.fromRGB(65, 65, 90)
    Stroke.Thickness = 1
    Stroke.Parent = Btn

    Btn.MouseButton1Click:Connect(callback)
    return Btn
end

function _G.PBZ_CreateInput(page, placeholder, btnText, callback)
    local Frame = Instance.new("Frame")
    Frame.BackgroundTransparency = 1
    Frame.Parent = page

    local Input = Instance.new("TextBox")
    Input.Size = UDim2.new(0.65, -4, 1, 0)
    Input.BackgroundColor3 = Color3.fromRGB(18, 18, 26)
    Input.BackgroundTransparency = 0.2
    Input.PlaceholderText = placeholder
    Input.Text = ""
    Input.TextColor3 = Color3.fromRGB(255, 255, 255)
    Input.Font = Enum.Font.FredokaOne
    Input.TextSize = 9
    Input.Parent = Frame

    local Corner1 = Instance.new("UICorner")
    Corner1.CornerRadius = UDim.new(0, 8)
    Corner1.Parent = Input

    local Btn = Instance.new("TextButton")
    Btn.Size = UDim2.new(0.35, 0, 1, 0)
    Btn.Position = UDim2.new(0.65, 4, 0, 0)
    Btn.BackgroundColor3 = Color3.fromRGB(255, 0, 85)
    Btn.Text = btnText:upper()
    Btn.TextColor3 = Color3.fromRGB(255, 255, 255)
    Btn.Font = Enum.Font.FredokaOne
    Btn.TextSize = 9
    Btn.BorderSizePixel = 0
    Btn.Parent = Frame

    local Corner2 = Instance.new("UICorner")
    Corner2.CornerRadius = UDim.new(0, 8)
    Corner2.Parent = Btn

    Btn.MouseButton1Click:Connect(function()
        callback(Input.Text)
    end)
end

-- Render Loop For Crosshair & GUI Visual Effects
RunService.RenderStepped:Connect(function()
    if States.Crosshair then
        local mousePos = UserInputService:GetMouseLocation()
        CrosshairCircle.Position = mousePos
        CrosshairCircle.Radius = States.CrosshairSize
        CrosshairCircle.Color = States.CrosshairColor
        CrosshairCircle.Thickness = States.CrosshairThickness
        CrosshairCircle.Visible = true
    else
        CrosshairCircle.Visible = false
    end

    if States.RainbowGUI and TargetParent:FindFirstChild("ProtectByZeroGui") then
        local hue = (tick() % 4) / 4
        MainStroke.Color = Color3.fromHSV(hue, 0.85, 1)
    end

    if States.TargetFOV then
        FOVCircle.Position = UserInputService:GetMouseLocation()
        FOVCircle.Radius = States.ProximityDist
        FOVCircle.Visible = true
    else
        FOVCircle.Visible = false
    end
end)
-- ============================================================
-- PROTECT BY ZERO - ULTIMATE EDITION (BAGIAN 2 / 2)
-- COMBAT ENGINE, MOVEMENT, SERVER UTILS & 9 PLAYER ACTIONS
-- ============================================================

local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local TeleportService = game:GetService("TeleportService")
local HttpService = game:GetService("HttpService")
local Lighting = game:GetService("Lighting")

local LocalPlayer = Players.LocalPlayer
local Camera = Workspace.CurrentCamera
local States = _G.PBZ_States

-- Generate Tabs
local CombatPage   = _G.PBZ_CreateTab("COMBAT")
local VisualsPage  = _G.PBZ_CreateTab("VISUALS")
local MovementPage = _G.PBZ_CreateTab("MOVEMENT")
local ServerPage   = _G.PBZ_CreateTab("SERVER")
local PlayerPage   = _G.PBZ_CreateTab("PLAYERS")

_G.PBZ_Pages["COMBAT"].Page.Visible = true
_G.PBZ_Pages["COMBAT"].Btn.BackgroundColor3 = Color3.fromRGB(255, 0, 85)
_G.PBZ_Pages["COMBAT"].Btn.TextColor3 = Color3.fromRGB(255, 255, 255)

local function isValidTarget(plr)
    if not plr or plr == LocalPlayer then return false end
    local char = plr.Character
    if not char then return false end
    
    local hum = char:FindFirstChildOfClass("Humanoid")
    local root = char:FindFirstChild("HumanoidRootPart")
    
    if not hum or hum.Health <= 0 or not root then return false end
    if char:FindFirstChildOfClass("ForceField") then return false end
    if char.Parent and char.Parent.Name:lower():find("lobby") then return false end
    
    return true
end

local function getClosestPlayerInWorld(maxDistance)
    local target = nil
    local shortestDist = maxDistance or math.huge
    local myRoot = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
    if not myRoot then return nil end

    for _, plr in ipairs(Players:GetPlayers()) do
        if isValidTarget(plr) then
            local enemyRoot = plr.Character.HumanoidRootPart
            local dist = (enemyRoot.Position - myRoot.Position).Magnitude
            if dist < shortestDist then
                shortestDist = dist
                target = plr
            end
        end
    end
    return target
end

local function getClosestPlayerToCursor()
    local target = nil
    local shortestDist = math.huge
    for _, plr in ipairs(Players:GetPlayers()) do
        if isValidTarget(plr) then
            local pos, onScreen = Camera:WorldToViewportPoint(plr.Character.HumanoidRootPart.Position)
            if onScreen then
                local mousePos = UserInputService:GetMouseLocation()
                local dist = (Vector2.new(pos.X, pos.Y) - mousePos).Magnitude
                if dist < shortestDist then
                    shortestDist = dist
                    target = plr
                end
            end
        end
    end
    return target
end

-- Render Stepped Executions
RunService.RenderStepped:Connect(function()
    -- Loop Bring Feature
    if _G.PBZ_LoopBringTarget and isValidTarget(_G.PBZ_LoopBringTarget) then
        local myRoot = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
        if myRoot then
            _G.PBZ_LoopBringTarget.Character.HumanoidRootPart.CFrame = myRoot.CFrame * CFrame.new(0, 0, -4)
        end
    end

    if States.CustomFOV then
        Camera.FieldOfView = States.CustomFOV
    end

    -- Combat Features
    if States.AutoAimProximity then
        local nearPlr = getClosestPlayerInWorld(States.ProximityDist)
        if nearPlr and nearPlr.Character and nearPlr.Character:FindFirstChild("HumanoidRootPart") then
            Camera.CFrame = CFrame.new(Camera.CFrame.Position, nearPlr.Character.HumanoidRootPart.Position)
        end
    end

    if States.AimLock then
        if not _G.PBZ_CurrentTarget or not isValidTarget(_G.PBZ_CurrentTarget) then
            _G.PBZ_CurrentTarget = getClosestPlayerInWorld() or getClosestPlayerToCursor()
        end
        if _G.PBZ_CurrentTarget and _G.PBZ_CurrentTarget.Character and _G.PBZ_CurrentTarget.Character:FindFirstChild("HumanoidRootPart") then
            Camera.CFrame = CFrame.new(Camera.CFrame.Position, _G.PBZ_CurrentTarget.Character.HumanoidRootPart.Position)
        end
    end

    if States.Aimbot then
        local target = getClosestPlayerToCursor()
        if target and target.Character and target.Character:FindFirstChild("Head") then
            Camera.CFrame = CFrame.new(Camera.CFrame.Position, target.Character.Head.Position)
        end
    end

    if States.HitboxExpander then
        for _, plr in ipairs(Players:GetPlayers()) do
            if isValidTarget(plr) then
                pcall(function()
                    local hrp = plr.Character.HumanoidRootPart
                    hrp.Size = Vector3.new(States.HitboxSize, States.HitboxSize, States.HitboxSize)
                    hrp.Transparency = 0.7
                    hrp.Color = Color3.fromRGB(255, 0, 85)
                    hrp.Material = Enum.Material.Neon
                    hrp.CanCollide = false
                end)
            end
        end
    end

    if States.SpinBot and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
        LocalPlayer.Character.HumanoidRootPart.CFrame = LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.Angles(0, math.rad(45), 0)
    end

    if States.TriggerBot then
        local mouseTarget = LocalPlayer:GetMouse().Target
        if mouseTarget and mouseTarget.Parent then
            local plr = Players:GetPlayerFromCharacter(mouseTarget.Parent) or Players:GetPlayerFromCharacter(mouseTarget.Parent.Parent)
            if plr and isValidTarget(plr) then
                mouse1click()
            end
        end
    end

    if States.AntiKnockback and LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
        local root = LocalPlayer.Character.HumanoidRootPart
        root.Velocity = Vector3.new(0, root.Velocity.Y, 0)
        root.RotVelocity = Vector3.new(0, 0, 0)
    end

    if States.KillAura then
        local target = getClosestPlayerInWorld(16)
        if target then
            local tool = LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Tool")
            if tool then tool:Activate() end
        end
    end

    -- Tracers Rendering
    if States.ESP_Tracers then
        for _, plr in ipairs(Players:GetPlayers()) do
            if isValidTarget(plr) then
                local line = _G.PBZ_Tracers[plr] or Drawing.new("Line")
                line.Color = Color3.fromRGB(255, 0, 85)
                line.Thickness = 1.5
                line.Transparency = 0.85
                
                local pos, onScreen = Camera:WorldToViewportPoint(plr.Character.HumanoidRootPart.Position)
                if onScreen then
                    line.From = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y)
                    line.To = Vector2.new(pos.X, pos.Y)
                    line.Visible = true
                else
                    line.Visible = false
                end
                _G.PBZ_Tracers[plr] = line
            elseif _G.PBZ_Tracers[plr] then
                _G.PBZ_Tracers[plr].Visible = false
            end
        end
    else
        for _, line in pairs(_G.PBZ_Tracers) do line.Visible = false end
    end
end)

-- Noclip & Anti-AFK Logic
RunService.Stepped:Connect(function()
    if States.Noclip and LocalPlayer.Character then
        for _, part in ipairs(LocalPlayer.Character:GetDescendants()) do
            if part:IsA("BasePart") then part.CanCollide = false end
        end
    end
end)

LocalPlayer.Idled:Connect(function()
    if States.AntiAFK then
        local VirtualUser = game:GetService("VirtualUser")
        VirtualUser:CaptureController()
        VirtualUser:ClickButton2(Vector2.new())
    end
end)

-- COMBAT TAB BINDINGS
_G.PBZ_CreateToggle(CombatPage, "AIM LOCK", "AimLock", function(v) if not v then _G.PBZ_CurrentTarget = nil end end)
_G.PBZ_CreateActionBtn(CombatPage, "UN-AIM LOCK", function() States.AimLock = false _G.PBZ_CurrentTarget = nil end)
_G.PBZ_CreateToggle(CombatPage, "AIMBOT HEAD", "Aimbot")
_G.PBZ_CreateToggle(CombatPage, "AUTO AIM NEAR", "AutoAimProximity")
_G.PBZ_CreateToggle(CombatPage, "TRIGGER BOT", "TriggerBot")
_G.PBZ_CreateToggle(CombatPage, "KILL AURA", "KillAura")
_G.PBZ_CreateToggle(CombatPage, "SPINBOT", "SpinBot")
_G.PBZ_CreateToggle(CombatPage, "ANTI KNOCKBACK", "AntiKnockback")
_G.PBZ_CreateToggle(CombatPage, "HITBOX EXPAND", "HitboxExpander")
_G.PBZ_CreateInput(CombatPage, "Hitbox Size", "SET", function(val) local n = tonumber(val) if n then States.HitboxSize = n end end)

-- VISUALS TAB BINDINGS
local function applyFullBodyESP(plr)
    if not plr.Character then return end
    local existingHL = plr.Character:FindFirstChild("ESP_Highlight")
    if States.ESP then
        if not existingHL then
            local hl = Instance.new("Highlight")
            hl.Name = "ESP_Highlight"
            hl.FillColor = Color3.fromRGB(255, 0, 85)
            hl.FillTransparency = 0.5
            hl.OutlineColor = Color3.fromRGB(255, 255, 255)
            hl.OutlineTransparency = 0
            hl.Adornee = plr.Character
            hl.Parent = plr.Character
        end
    else
        if existingHL then existingHL:Destroy() end
    end
end

_G.PBZ_CreateToggle(VisualsPage, "FULL BODY ESP", "ESP", function(v)
    for _, plr in ipairs(Players:GetPlayers()) do if plr ~= LocalPlayer then applyFullBodyESP(plr) end end
end)
_G.PBZ_CreateToggle(VisualsPage, "ESP TRACERS", "ESP_Tracers")
_G.PBZ_CreateToggle(VisualsPage, "CROSSHAIR RED", "Crosshair")
_G.PBZ_CreateInput(VisualsPage, "Crosshair Size", "SET", function(val) local n = tonumber(val) if n then States.CrosshairSize = n end end)
_G.PBZ_CreateInput(VisualsPage, "RGB (255,0,0)", "COLOR", function(val)
    local r, g, b = val:match("(%d+),(%d+),(%d+)")
    if r and g and b then
        States.CrosshairColor = Color3.fromRGB(tonumber(r), tonumber(g), tonumber(b))
    end
end)
_G.PBZ_CreateToggle(VisualsPage, "TARGET FOV", "TargetFOV")
_G.PBZ_CreateToggle(VisualsPage, "RAINBOW GUI", "RainbowGUI")
_G.PBZ_CreateToggle(VisualsPage, "FULLBRIGHT", "Fullbright", function(v)
    if v then
        Lighting.Ambient = Color3.fromRGB(255, 255, 255)
        Lighting.Brightness = 2
    else
        Lighting.Ambient = Color3.fromRGB(128, 128, 128)
        Lighting.Brightness = 1
    end
end)
_G.PBZ_CreateToggle(VisualsPage, "3RD PERSON", "ThirdPerson", function(v)
    LocalPlayer.CameraMaxZoomDistance = v and 100 or 12.5
    LocalPlayer.CameraMinZoomDistance = v and 20 or 0.5
end)
_G.PBZ_CreateInput(VisualsPage, "FOV (80)", "SET", function(v) local n = tonumber(v) if n then States.CustomFOV = n end end)

-- MOVEMENT TAB BINDINGS
_G.PBZ_CreateToggle(MovementPage, "INF JUMP", "InfJump")
_G.PBZ_CreateToggle(MovementPage, "NOCLIP", "Noclip")
_G.PBZ_CreateToggle(MovementPage, "SPEED BYPASS", "SpeedBypass")
_G.PBZ_CreateInput(MovementPage, "Speed (16)", "SET", function(val) local n = tonumber(val) if n then States.Speed = n end end)
_G.PBZ_CreateInput(MovementPage, "Jump (50)", "SET", function(val) local n = tonumber(val) if n then States.JumpPower = n end end)

-- SERVER TAB BINDINGS
_G.PBZ_CreateToggle(ServerPage, "ANTI AFK", "AntiAFK")
_G.PBZ_CreateToggle(ServerPage, "PING NOTIFIER", "ServerLagNotifier")
_G.PBZ_CreateActionBtn(ServerPage, "REJOIN SERVER", function() TeleportService:TeleportToPlaceInstance(game.PlaceId, game.JobId, LocalPlayer) end)
_G.PBZ_CreateActionBtn(ServerPage, "SERVER HOP", function()
    local api = "https://games.roblox.com/v1/games/" .. game.PlaceId .. "/servers/Public?sortOrder=Asc&limit=100"
    local success, result = pcall(function() return HttpService:JSONDecode(game:HttpGet(api)) end)
    if success and result and result.data then
        for _, s in ipairs(result.data) do
            if s.playing < Players.MaxPlayers and s.id ~= game.JobId then
                TeleportService:TeleportToPlaceInstance(game.PlaceId, s.id, LocalPlayer)
                break
            end
        end
    end
end)
_G.PBZ_CreateActionBtn(ServerPage, "COPY JOB ID", function() if setclipboard then setclipboard(game.JobId) end end)

-- PLAYER TAB & 9 ADVANCED ACTION BUTTONS
local SelectedLabel = Instance.new("TextLabel")
SelectedLabel.Size = UDim2.new(1, 0, 0, 20)
SelectedLabel.BackgroundTransparency = 1
SelectedLabel.Text = "TARGET: NONE"
SelectedLabel.TextColor3 = Color3.fromRGB(255, 0, 85)
SelectedLabel.Font = Enum.Font.FredokaOne
SelectedLabel.TextSize = 10
SelectedLabel.Parent = PlayerPage

local ActionGrid = Instance.new("Frame")
ActionGrid.Size = UDim2.new(1, 0, 0, 110)
ActionGrid.BackgroundTransparency = 1
ActionGrid.Parent = PlayerPage

local GridLay = Instance.new("UIGridLayout")
GridLay.CellSize = UDim2.new(0, 102, 0, 30)
GridLay.CellPadding = UDim2.new(0, 5, 0, 5)
GridLay.Parent = ActionGrid

-- 1. Teleport
_G.PBZ_CreateActionBtn(ActionGrid, "TELEPORT", function()
    if _G.PBZ_SelectedPlayer and _G.PBZ_SelectedPlayer.Character and _G.PBZ_SelectedPlayer.Character:FindFirstChild("HumanoidRootPart") then
        local myRoot = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
        if myRoot then myRoot.CFrame = _G.PBZ_SelectedPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(0, 2, 0) end
    end
end)

-- 2. Spectate View
_G.PBZ_CreateActionBtn(ActionGrid, "VIEW", function()
    if _G.PBZ_SelectedPlayer and _G.PBZ_SelectedPlayer.Character and _G.PBZ_SelectedPlayer.Character:FindFirstChildOfClass("Humanoid") then
        Camera.CameraSubject = _G.PBZ_SelectedPlayer.Character:FindFirstChildOfClass("Humanoid")
    end
end)

-- 3. Reset View
_G.PBZ_CreateActionBtn(ActionGrid, "UNVIEW", function()
    if LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid") then
        Camera.CameraSubject = LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
    end
end)

-- 4. Copy UserID
_G.PBZ_CreateActionBtn(ActionGrid, "COPY ID", function()
    if _G.PBZ_SelectedPlayer and setclipboard then setclipboard(tostring(_G.PBZ_SelectedPlayer.UserId)) end
end)

-- 5. Copy Username
_G.PBZ_CreateActionBtn(ActionGrid, "COPY NAME", function()
    if _G.PBZ_SelectedPlayer and setclipboard then setclipboard(_G.PBZ_SelectedPlayer.Name) end
end)

-- 6. Loop Bring
_G.PBZ_CreateActionBtn(ActionGrid, "BRING (TOGGLE)", function()
    if _G.PBZ_LoopBringTarget == _G.PBZ_SelectedPlayer then
        _G.PBZ_LoopBringTarget = nil
    else
        _G.PBZ_LoopBringTarget = _G.PBZ_SelectedPlayer
    end
end)

-- 7. Teleport Behind
_G.PBZ_CreateActionBtn(ActionGrid, "GOTO BEHIND", function()
    if _G.PBZ_SelectedPlayer and _G.PBZ_SelectedPlayer.Character and _G.PBZ_SelectedPlayer.Character:FindFirstChild("HumanoidRootPart") then
        local myRoot = LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
        if myRoot then
            myRoot.CFrame = _G.PBZ_SelectedPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 3)
        end
    end
end)

-- 8. Target Lock
_G.PBZ_CreateActionBtn(ActionGrid, "LOCK AIM", function()
    if _G.PBZ_SelectedPlayer then
        _G.PBZ_CurrentTarget = _G.PBZ_SelectedPlayer
        States.AimLock = true
    end
end)

-- 9. Highlight Player
_G.PBZ_CreateActionBtn(ActionGrid, "HIGHLIGHT", function()
    if _G.PBZ_SelectedPlayer and _G.PBZ_SelectedPlayer.Character then
        if _G.PBZ_HighlightedPlr then _G.PBZ_HighlightedPlr:Destroy() end
        local hl = Instance.new("Highlight")
        hl.FillColor = Color3.fromRGB(0, 255, 160)
        hl.OutlineColor = Color3.fromRGB(255, 255, 255)
        hl.Adornee = _G.PBZ_SelectedPlayer.Character
        hl.Parent = _G.PBZ_SelectedPlayer.Character
        _G.PBZ_HighlightedPlr = hl
    end
end)

local RefreshBtn = _G.PBZ_CreateActionBtn(PlayerPage, "REFRESH LIST", function() end)

local PlrListFrame = Instance.new("Frame")
PlrListFrame.Size = UDim2.new(1, 0, 0, 160)
PlrListFrame.BackgroundTransparency = 1
PlrListFrame.Parent = PlayerPage

local PlrListLayout = Instance.new("UIListLayout")
PlrListLayout.Padding = UDim.new(0, 4)
PlrListLayout.Parent = PlrListFrame

local function populateServerPlayers()
    for _, c in ipairs(PlrListFrame:GetChildren()) do
        if not c:IsA("UIListLayout") then c:Destroy() end
    end

    for _, plr in ipairs(Players:GetPlayers()) do
        local Card = Instance.new("TextButton")
        Card.Size = UDim2.new(1, 0, 0, 32)
        Card.BackgroundColor3 = Color3.fromRGB(18, 18, 26)
        Card.BackgroundTransparency = 0.3
        Card.Text = ""
        Card.Parent = PlrListFrame

        local CardCorner = Instance.new("UICorner")
        CardCorner.CornerRadius = UDim.new(0, 8)
        CardCorner.Parent = Card

        local AvatarImg = Instance.new("ImageLabel")
        AvatarImg.Size = UDim2.new(0, 26, 0, 26)
        AvatarImg.Position = UDim2.new(0, 3, 0, 3)
        AvatarImg.BackgroundTransparency = 1
        AvatarImg.Image = Players:GetUserThumbnailAsync(plr.UserId, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size420x420)
        AvatarImg.Parent = Card

        local AvatarCorner = Instance.new("UICorner")
        AvatarCorner.CornerRadius = UDim.new(1, 0)
        AvatarCorner.Parent = AvatarImg

        local Info = Instance.new("TextLabel")
        Info.Size = UDim2.new(1, -38, 1, 0)
        Info.Position = UDim2.new(0, 34, 0, 0)
        Info.BackgroundTransparency = 1
        Info.Text = string.format("%s (@%s)", plr.DisplayName, plr.Name)
        Info.TextColor3 = Color3.fromRGB(255, 255, 255)
        Info.Font = Enum.Font.FredokaOne
        Info.TextSize = 9
        Info.TextXAlignment = Enum.TextXAlignment.Left
        Info.Parent = Card

        Card.MouseButton1Click:Connect(function()
            _G.PBZ_SelectedPlayer = plr
            SelectedLabel.Text = "TARGET: " .. plr.Name:upper()
        end)
    end
end

RefreshBtn.MouseButton1Click:Connect(populateServerPlayers)
task.spawn(populateServerPlayers)

-- Character Jump & Speed Engine
UserInputService.JumpRequest:Connect(function()
    if States.InfJump and LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid") then
        LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):ChangeState(Enum.HumanoidStateType.Jumping)
    end
end)

RunService.Stepped:Connect(function()
    if LocalPlayer.Character and LocalPlayer.Character:FindFirstChildOfClass("Humanoid") then
        local hum = LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
        hum.WalkSpeed = States.Speed
        hum.JumpPower = States.JumpPower
    end
end)

Features & Information

ESP AIM LOCK AIM BOT CROSHAIR And many more features to use

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts