KILL ALL
Key Required

KILL ALL

PUBG 2.0TheTheTheSecretTheTheTheSecret 81 views 403 executesUpdated Aug 9, 2026
Unrated
00
Lua Script•132 lines (4272 chars)
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local UserInputService = game:GetService("UserInputService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")

local Remote = ReplicatedStorage:WaitForChild("WeaponsSystem"):WaitForChild("Network"):WaitForChild("WeaponHit")
local WEAPON_NAME = "AWP"

local function getWeapon()
    if LocalPlayer.Character then
        local tool = LocalPlayer.Character:FindFirstChild(WEAPON_NAME)
        if tool then return tool end
    end
    local bp = LocalPlayer:FindFirstChild("Backpack")
    return bp and bp:FindFirstChild(WEAPON_NAME)
end

local function buildHitData(target)
    local char = target.Character
    if not char then return nil end
    local root = char:FindFirstChild("HumanoidRootPart")
    if not root then return nil end
    return {
        p = root.Position,
        pid = 1,
        part = root,                     -- change to char.Head for headshots
        d = 0.01,
        maxDist = 0.01,
        h = root,
        m = Enum.Material.Plastic,
        n = Vector3.new(0,1,0),
        t = tick(),
        sid = 1
    }
end

-- GUI (draggable)
local gui = Instance.new("ScreenGui", LocalPlayer:WaitForChild("PlayerGui"))
gui.Name = "KILL ALL"
gui.ResetOnSpawn = false

local f = Instance.new("Frame", gui)
f.Size = UDim2.new(0,200,0,70)
f.Position = UDim2.new(0.5,-100,0.5,-35)
f.BackgroundColor3 = Color3.fromRGB(25,25,25)
f.BorderSizePixel = 0
f.Active = true

local title = Instance.new("TextLabel", f)
title.Size = UDim2.new(1,0,0,20)
title.BackgroundTransparency = 1
title.Text = "KILL ALL"
title.TextColor3 = Color3.new(1,0.2,0.2)
title.TextScaled = true
title.Font = Enum.Font.SourceSansBold

local status = Instance.new("TextLabel", f)
status.Size = UDim2.new(1,0,0,18)
status.Position = UDim2.new(0,0,0,22)
status.BackgroundTransparency = 1
status.Text = "IDLE"
status.TextColor3 = Color3.new(1,1,1)
status.TextScaled = true
status.Font = Enum.Font.SourceSans

local btn = Instance.new("TextButton", f)
btn.Size = UDim2.new(1,-20,0,25)
btn.Position = UDim2.new(0,10,0,42)
btn.BackgroundColor3 = Color3.fromRGB(180,20,20)
btn.TextColor3 = Color3.new(1,1,1)
btn.TextScaled = true
btn.Text = "START"
btn.Font = Enum.Font.SourceSansBold

-- Drag
local dragObj, dragStart, frameStart
f.InputBegan:Connect(function(i)
    if i.UserInputType == Enum.UserInputType.MouseButton1 then
        dragObj = i; dragStart = i.Position; frameStart = f.Position
    end
end)
f.InputEnded:Connect(function(i)
    if i == dragObj then dragObj = nil end
end)
UserInputService.InputChanged:Connect(function(i)
    if dragObj and i.UserInputType == Enum.UserInputType.MouseMovement then
        local d = i.Position - dragStart
        f.Position = UDim2.new(frameStart.X.Scale, frameStart.X.Offset + d.X, frameStart.Y.Scale, frameStart.Y.Offset + d.Y)
    end
end)

local active = false
btn.MouseButton1Click:Connect(function()
    active = not active
    if active then
        btn.Text = "STOP"
        btn.BackgroundColor3 = Color3.fromRGB(20,180,20)
        status.Text = "RUNNING"
        task.spawn(function()
            while active do
                local weapon = getWeapon()
                if not weapon then
                    status.Text = "NO AWP"
                    task.wait(1)
                    continue
                end
                local enemies = {}
                for _, p in ipairs(Players:GetPlayers()) do
                    if p ~= LocalPlayer and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
                        table.insert(enemies, p)
                    end
                end
                status.Text = "RAPING "..#enemies
                for _, target in ipairs(enemies) do
                    if not active then break end
                    local data = buildHitData(target)
                    if data then
                        pcall(function() Remote:FireServer(weapon, data) end)
                    end
                    task.wait(0.05)
                end
                task.wait(0.2)
            end
        end)
    else
        btn.Text = "START"
        btn.BackgroundColor3 = Color3.fromRGB(180,20,20)
        status.Text = "IDLE"
    end
end)

while true do task.wait(1) end

Features & Information

kill all

Community Comments (0)

No comments yet for this script.

More Scripts for PUBG 2.0