Anti chp5 section3 enemies (read des for more info)
Key Required

Anti chp5 section3 enemies (read des for more info)

The Battle BricksPinguballPinguball 2.7K views 5.8K executesUpdated Sep 9, 2026
Unrated
00
Lua Script•449 lines (15737 chars)
local player = game.Players.LocalPlayer
local pGui = player:WaitForChild("PlayerGui")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local Workspace = game:GetService("Workspace")

-- ============================
-- GUIDE UI (Shows for 5s then CLOSE button appears)
-- ============================

local function showGuide()
    local sg = Instance.new("ScreenGui", pGui)
    sg.Name = "GuideUI"
    sg.ResetOnSpawn = false
    sg.ZIndexBehavior = Enum.ZIndexBehavior.Sibling

    local frame = Instance.new("Frame", sg)
    frame.Size = UDim2.new(0, 380, 0, 300)
    frame.Position = UDim2.new(0.5, -190, 0.5, -150)
    frame.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
    frame.BackgroundTransparency = 0.05
    Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 8)

    local stroke = Instance.new("UIStroke", frame)
    stroke.Color = Color3.fromRGB(255, 0, 100)
    stroke.Thickness = 2

    local title = Instance.new("TextLabel", frame)
    title.Size = UDim2.new(1, 0, 0, 30)
    title.Position = UDim2.new(0, 0, 0, 8)
    title.BackgroundTransparency = 1
    title.Text = "🤖 AI-GENERATED SCRIPT"
    title.TextColor3 = Color3.fromRGB(255, 0, 100)
    title.Font = Enum.Font.GothamBold
    title.TextSize = 16

    local sub = Instance.new("TextLabel", frame)
    sub.Size = UDim2.new(1, 0, 0, 20)
    sub.Position = UDim2.new(0, 0, 0, 38)
    sub.BackgroundTransparency = 1
    sub.Text = "(I've tested it and it works!!)"
    sub.TextColor3 = Color3.fromRGB(200, 200, 200)
    sub.Font = Enum.Font.Gotham
    sub.TextSize = 12

    local features = Instance.new("TextLabel", frame)
    features.Size = UDim2.new(1, -20, 0, 160)
    features.Position = UDim2.new(0, 10, 0, 62)
    features.BackgroundTransparency = 1
    features.Text = [[Features:
• Anti Depriver: Disables her completely
• Anti Sorcus: Removes his projectiles (turn this off if Depriver is the enemy with the highest HP on the field)
• Anti Dual Ghostwalker: Removes his projectiles
• Anti Dual Venomshank: Removes his projectiles
• Anti Server: Removes his projectiles]]
    features.TextColor3 = Color3.fromRGB(220, 220, 220)
    features.Font = Enum.Font.Gotham
    features.TextSize = 12
    features.TextXAlignment = Enum.TextXAlignment.Left
    features.TextYAlignment = Enum.TextYAlignment.Top
    features.TextWrapped = true

    local closeBtn = Instance.new("TextButton", frame)
    closeBtn.Size = UDim2.new(0, 80, 0, 30)
    closeBtn.Position = UDim2.new(0.5, -40, 1, -45)
    closeBtn.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
    closeBtn.Text = "CLOSE"
    closeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
    closeBtn.Font = Enum.Font.GothamBold
    closeBtn.TextSize = 14
    closeBtn.Visible = false
    Instance.new("UICorner", closeBtn).CornerRadius = UDim.new(0, 4)

    closeBtn.MouseButton1Click:Connect(function()
        sg:Destroy()
    end)

    task.wait(5)
    closeBtn.Visible = true
end

-- ============================
-- ANTI DEPRIVER
-- ============================

local antiDepriverEnabled = false
local oldNamecall = nil
local uiKillerConnection = nil

oldNamecall = hookmetamethod(game, "__namecall", function(self, ...)
    local method = getnamecallmethod()
    if antiDepriverEnabled and method == "FireServer" then
        if self.Name == "RemoteEvent" and self.Parent and self.Parent.Name == "ChustUI" then
            return nil
        end
    end
    return oldNamecall(self, ...)
end)

local function killDepriverUI()
    local playerGui = player:FindFirstChild("PlayerGui")
    if not playerGui then return end
    for _, child in ipairs(playerGui:GetDescendants()) do
        if child.Name == "ChustFrame" or child.Name == "WarningFrame" or child.Name == "SpamFrame" or child.Name == "ChustEye" or child.Name == "ChustUI" then
            pcall(function()
                child.Visible = false
                child.BackgroundTransparency = 1
                child.ImageTransparency = 1
            end)
        end
    end
end

local function startUIKiller()
    if uiKillerConnection then return end
    uiKillerConnection = RunService.RenderStepped:Connect(function()
        if antiDepriverEnabled then killDepriverUI() end
    end)
end

local function stopUIKiller()
    if uiKillerConnection then
        uiKillerConnection:Disconnect()
        uiKillerConnection = nil
    end
end

local function toggleAntiDepriver(state)
    antiDepriverEnabled = state
    if state then
        startUIKiller()
        killDepriverUI()
    else
        stopUIKiller()
    end
end

-- ============================
-- PROJECTILE MOD
-- ============================

local antiSorcusEnabled = false
local antiGhostwalkerEnabled = false
local antiVenomshankEnabled = false
local antiServerEnabled = false

local projectileFolder = Workspace:WaitForChild("Projectile")
local EnemyFolder = Workspace:WaitForChild("NPCFolders"):WaitForChild("EnemyFolder")

local trackedProjectiles = {}
local deletionProjectiles = {}

local function GetStrongestEnemy()
    local strongest = nil
    local maxHealth = -math.huge
    for _, enemy in ipairs(EnemyFolder:GetChildren()) do
        local humanoid = enemy:FindFirstChild("Humanoid")
        if humanoid and humanoid.Health > 0 then
            local totalHealth = humanoid.MaxHealth + humanoid.Health
            if totalHealth > maxHealth then
                maxHealth = totalHealth
                strongest = enemy
            end
        end
    end
    return strongest
end

local function setupHoming(projectile)
    if not projectile:IsA("BasePart") then return end
    projectile.CanCollide = false
    projectile.CanTouch = true
    projectile.Massless = true
    projectile.AssemblyLinearVelocity = Vector3.zero
    trackedProjectiles[projectile] = true
end

local function handleHoming(projectile)
    if projectile.Name == "SorcusEgg" or projectile.Name == "SorcusBlade" then
        setupHoming(projectile)
    end
end

local function handleDeletion(projectile)
    if not projectile:IsA("BasePart") then return end
    local shouldDelete = false
    if antiGhostwalkerEnabled and (projectile.Name == "BigGhostwalker" or projectile.Name == "Ghostwalker") then
        shouldDelete = true
    end
    if antiVenomshankEnabled and projectile.Name == "Ipecac" then
        shouldDelete = true
    end
    if shouldDelete then
        projectile.Anchored = true
        deletionProjectiles[projectile] = true
    end
end

for _, obj in ipairs(projectileFolder:GetChildren()) do
    handleHoming(obj)
    handleDeletion(obj)
end

projectileFolder.ChildAdded:Connect(function(child)
    handleHoming(child)
    handleDeletion(child)
end)

RunService.Heartbeat:Connect(function()
    for projectile, _ in pairs(trackedProjectiles) do
        if not projectile or not projectile.Parent then
            trackedProjectiles[projectile] = nil
        else
            local enabled = false
            if projectile.Name == "SorcusEgg" and antiSorcusEnabled then
                enabled = true
            elseif projectile.Name == "SorcusBlade" and antiServerEnabled then
                enabled = true
            end
            if enabled then
                if projectile.Name == "SorcusEgg" then
                    local target = GetStrongestEnemy()
                    if target and target:FindFirstChild("HumanoidRootPart") then
                        projectile.CFrame = target.HumanoidRootPart.CFrame
                    end
                elseif projectile.Name == "SorcusBlade" then
                    projectile.CFrame = CFrame.new(Vector3.new(-100, 100, 150))
                end
            else
                trackedProjectiles[projectile] = nil
            end
        end
    end
    for projectile, _ in pairs(deletionProjectiles) do
        if not projectile or not projectile.Parent then
            deletionProjectiles[projectile] = nil
        else
            if (antiGhostwalkerEnabled and (projectile.Name == "BigGhostwalker" or projectile.Name == "Ghostwalker")) or
               (antiVenomshankEnabled and projectile.Name == "Ipecac") then
                pcall(function()
                    projectile.CFrame += Vector3.new(0, -100, 0)
                end)
            else
                deletionProjectiles[projectile] = nil
            end
        end
    end
end)

-- ============================
-- UI SETUP
-- ============================

pcall(function()
    if pGui:FindFirstChild("ModMenuUI") then
        pGui.ModMenuUI:Destroy()
    end
end)

local sg = Instance.new("ScreenGui", pGui)
sg.Name = "ModMenuUI"
sg.ResetOnSpawn = false

local function makeDraggable(frame)
    local dragging, dragStart, startPos
    frame.InputBegan:Connect(function(input)
        if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
            dragging = true
            dragStart = input.Position
            startPos = frame.Position
        end
    end)
    frame.InputChanged:Connect(function(input)
        if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
            local delta = input.Position - dragStart
            frame.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)
end

local logo = Instance.new("ImageButton", sg)
logo.Size = UDim2.new(0, 45, 0, 45)
logo.Position = UDim2.new(0, 20, 0.4, 0)
logo.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
logo.Image = "rbxassetid://6031094678"
logo.BackgroundTransparency = 0.2
Instance.new("UICorner", logo).CornerRadius = UDim.new(1, 0)

local lStroke = Instance.new("UIStroke", logo)
lStroke.Color = Color3.fromRGB(255, 0, 100)
lStroke.Thickness = 2
makeDraggable(logo)

local main = Instance.new("Frame", sg)
main.Size = UDim2.new(0, 160, 0, 260)
main.Position = UDim2.new(0, 80, 0.4, -130)
main.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
main.Visible = false
Instance.new("UICorner", main)

local mStroke = Instance.new("UIStroke", main)
mStroke.Color = Color3.fromRGB(255, 0, 100)
mStroke.Thickness = 2
makeDraggable(main)

logo.Activated:Connect(function()
    main.Visible = not main.Visible
end)

local inner = Instance.new("Frame", main)
inner.Size = UDim2.new(1, -10, 1, -10)
inner.Position = UDim2.new(0, 5, 0, 5)
inner.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
Instance.new("UICorner", inner)

local innerStroke = Instance.new("UIStroke", inner)
innerStroke.Color = Color3.fromRGB(40, 40, 40)
innerStroke.Thickness = 1

local title = Instance.new("TextLabel", inner)
title.Size = UDim2.new(1, 0, 0, 20)
title.Position = UDim2.new(0, 0, 0, 2)
title.BackgroundTransparency = 1
title.Text = "☠️ MOD MENU"
title.TextColor3 = Color3.fromRGB(255, 0, 100)
title.TextSize = 13
title.Font = Enum.Font.SourceSansBold

local depBtn = Instance.new("TextButton", inner)
depBtn.Size = UDim2.new(0.95, 0, 0, 24)
depBtn.Position = UDim2.new(0.025, 0, 0, 28)
depBtn.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
depBtn.Text = "ANTI DEPRIVER: OFF"
depBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
depBtn.Font = Enum.Font.SourceSansBold
depBtn.TextSize = 10
Instance.new("UICorner", depBtn)

local sorcusBtn = Instance.new("TextButton", inner)
sorcusBtn.Size = UDim2.new(0.95, 0, 0, 24)
sorcusBtn.Position = UDim2.new(0.025, 0, 0, 56)
sorcusBtn.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
sorcusBtn.Text = "ANTI SORCUS: OFF"
sorcusBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
sorcusBtn.Font = Enum.Font.SourceSansBold
sorcusBtn.TextSize = 10
Instance.new("UICorner", sorcusBtn)

local ghostBtn = Instance.new("TextButton", inner)
ghostBtn.Size = UDim2.new(0.95, 0, 0, 24)
ghostBtn.Position = UDim2.new(0.025, 0, 0, 84)
ghostBtn.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
ghostBtn.Text = "ANTI GHOSTWALKER: OFF"
ghostBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
ghostBtn.Font = Enum.Font.SourceSansBold
ghostBtn.TextSize = 10
Instance.new("UICorner", ghostBtn)

local venomBtn = Instance.new("TextButton", inner)
venomBtn.Size = UDim2.new(0.95, 0, 0, 24)
venomBtn.Position = UDim2.new(0.025, 0, 0, 112)
venomBtn.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
venomBtn.Text = "ANTI VENOMSHANK: OFF"
venomBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
venomBtn.Font = Enum.Font.SourceSansBold
venomBtn.TextSize = 10
Instance.new("UICorner", venomBtn)

local serverBtn = Instance.new("TextButton", inner)
serverBtn.Size = UDim2.new(0.95, 0, 0, 24)
serverBtn.Position = UDim2.new(0.025, 0, 0, 140)
serverBtn.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
serverBtn.Text = "ANTI SERVER: OFF"
serverBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
serverBtn.Font = Enum.Font.SourceSansBold
serverBtn.TextSize = 10
Instance.new("UICorner", serverBtn)

local statusLabel = Instance.new("TextLabel", inner)
statusLabel.Size = UDim2.new(1, 0, 0, 30)
statusLabel.Position = UDim2.new(0, 0, 0, 170)
statusLabel.BackgroundTransparency = 1
statusLabel.Text = "Status: ALL OFF"
statusLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
statusLabel.TextSize = 10
statusLabel.Font = Enum.Font.SourceSans

depBtn.Activated:Connect(function()
    local newState = not antiDepriverEnabled
    toggleAntiDepriver(newState)
    depBtn.Text = newState and "ANTI DEPRIVER: ON" or "ANTI DEPRIVER: OFF"
    depBtn.BackgroundColor3 = newState and Color3.fromRGB(0, 180, 0) or Color3.fromRGB(200, 0, 0)
    updateStatus()
end)

sorcusBtn.Activated:Connect(function()
    antiSorcusEnabled = not antiSorcusEnabled
    sorcusBtn.Text = antiSorcusEnabled and "ANTI SORCUS: ON" or "ANTI SORCUS: OFF"
    sorcusBtn.BackgroundColor3 = antiSorcusEnabled and Color3.fromRGB(0, 180, 0) or Color3.fromRGB(200, 0, 0)
    updateStatus()
end)

ghostBtn.Activated:Connect(function()
    antiGhostwalkerEnabled = not antiGhostwalkerEnabled
    ghostBtn.Text = antiGhostwalkerEnabled and "ANTI GHOSTWALKER: ON" or "ANTI GHOSTWALKER: OFF"
    ghostBtn.BackgroundColor3 = antiGhostwalkerEnabled and Color3.fromRGB(0, 180, 0) or Color3.fromRGB(200, 0, 0)
    updateStatus()
end)

venomBtn.Activated:Connect(function()
    antiVenomshankEnabled = not antiVenomshankEnabled
    venomBtn.Text = antiVenomshankEnabled and "ANTI VENOMSHANK: ON" or "ANTI VENOMSHANK: OFF"
    venomBtn.BackgroundColor3 = antiVenomshankEnabled and Color3.fromRGB(0, 180, 0) or Color3.fromRGB(200, 0, 0)
    updateStatus()
end)

serverBtn.Activated:Connect(function()
    antiServerEnabled = not antiServerEnabled
    serverBtn.Text = antiServerEnabled and "ANTI SERVER: ON" or "ANTI SERVER: OFF"
    serverBtn.BackgroundColor3 = antiServerEnabled and Color3.fromRGB(0, 180, 0) or Color3.fromRGB(200, 0, 0)
    updateStatus()
end)

local function updateStatus()
    local statuses = {}
    if antiDepriverEnabled then table.insert(statuses, "Depriver") end
    if antiSorcusEnabled then table.insert(statuses, "Sorcus") end
    if antiGhostwalkerEnabled then table.insert(statuses, "Ghost") end
    if antiVenomshankEnabled then table.insert(statuses, "Venom") end
    if antiServerEnabled then table.insert(statuses, "Server") end
    if #statuses == 0 then
        statusLabel.Text = "Status: ALL OFF ❌"
        statusLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
    else
        statusLabel.Text = "Status: " .. table.concat(statuses, " + ") .. " ✅"
        statusLabel.TextColor3 = Color3.fromRGB(0, 255, 100)
    end
end

-- ============================
-- SHOW GUIDE
-- ============================

showGuide()

Features & Information

Script made by AI (but it works, ive tested it!) Kind of like a cheap script compare to the one in mortis completion vid Features: -Anti Depriver: disable her completely (the minigame sound is still there,but not that important) -Anti Sorcus: remove his projectiles (turn this off if depriver is the enemy with the highest hp on the field) -Anti Dual Ghostwalker: remove his projectiles -Anti Dual Venomshank: remove his projectiles (buggy a bit) -Anti Server: remove his projectiles Good luck on beating chp5

Community Comments (8)

mortisonmortisonSep 9, 2026

the thumbnail is wild lol, also W script very good on left to deprecate

mortisonmortisonSep 10, 2026

Bro if possible can you add anti mortis

Replying to @mortison
PinguballPinguballSep 10, 2026(edited)

@mortison I have absolutely no idea how to code, and AI cant do that U can search for scripts online Infact u can use this script, i found it on YouTube (NOT MY SCRIPT)↓↓↓ loadstring(game:HttpGet("https://pastebin.com/raw/GqJWbktX"))()

Replying to @Pinguball
Yoshiro_121Yoshiro_121Sep 13, 2026

@Pinguball que IA?

Bacon_HappyTHBacon_HappyTHSep 13, 2026

This script works incredibly well.

stalagcythestalagcytheSep 13, 2026

How does ai slop make anti server better than any other script?

ryn67burgersmangoryn67burgersmangoSep 14, 2026

Ts so peak bro

zingy3bdzingy3bdSep 20, 2026

yo does this still work or does it data wipe?

More Scripts for The Battle Bricks