BobloScript.com

Counter Blox script - (Kil All)

Published by bebraOriginal developer: 090Published Aug 27
Open in Roblox
227Views
133Copies
NeverUpdated

Description

This script does not eliminate the whole enemy team in one action. It continuously selects the closest living opponent, targets their head, and repeats the hit loop.

What happens after execution

There is no menu, toggle, or target selector. The loop starts as soon as the code runs, checks teams to avoid choosing your own teammates, and moves to another opponent when the closest target is no longer available. Your character needs a gun equipped for the hit call used by the script.

How to use

  1. Join a server and wait until you are inside an active round.

  2. Equip a gun before running the script.

  3. Open your Roblox executor, paste the complete code, and press Execute.

  4. Return to the match. No window will appear; targeting begins in the background.

  5. If it does nothing, confirm that a round is active and your gun is equipped. The executor must also support the functions used by the source.

FAQ

Does Kill All hit every enemy at the same time? No. The source chooses the closest valid enemy and repeats the process one target at a time.

Why is there no script menu? The code contains no UI. Its automatic loop starts immediately after execution.

Who wrote the original script? That is unresolved. The person who shared this version called it skidded, which may mean copied, modified, or deobfuscated. This does not prove who created the original code.

Will it run on every executor? Compatibility is not confirmed. The source relies on executor-specific functions, so an unsupported executor may stop before the targeting loop starts.

Functions

  • Kill all

Screenshots

1 image

Script Code

Raw Code
local cloneref = cloneref or function(...)    return ...endlocal GetService = setmetatable({}, {    __index = function(self, key)        return cloneref(game:GetService(key))    end})getgenv().Services = {    RunService = GetService.RunService,    Players = GetService.Players,    UserInputService = GetService.UserInputService,    CoreGui = GetService.CoreGui,    TweenService = GetService.TweenService,    ReplicatedStorage = GetService.ReplicatedStorage,    HttpService = GetService.HttpService,    Lighting = GetService.Lighting,    WorkSpace = GetService.Workspace,    Debris = GetService.Debris,}Services.CurrentCamera = Services.WorkSpace.CurrentCameraServices.LocalPlayer = Services.Players.LocalPlayerlocal HitParl = Services.ReplicatedStorage:WaitForChild("Events"):WaitForChild("HitParl")local Weapons = Services.ReplicatedStorage:WaitForChild("Weapons")local PlayerGui = Services.LocalPlayer:WaitForChild("PlayerGui")local firebulletlocal function findFireBullet()    for _, fn in ipairs(getgc(false)) do        if type(fn) == "function" and islclosure(fn) then            local ok, consts = pcall(debug.getconstants, fn)            if ok and consts then                local hit, rep, range, melee = false, false, false, false                for i = 1, #consts do                    local c = consts[i]                    if c == "HitParl" then                        hit = true                    elseif c == "ReplicateShot" then                        rep = true                    elseif c == "Range" then                        range = true                    elseif c == "Melee" then                        melee = true                    end                end                if hit and rep and range and melee then                    return fn                end            end        end    endendfirebullet = findFireBullet()local function encodeHitPos(pos)    return Vector3.new(        ((pos.X - 156325) * 13 + 17854) * 16,        (pos.Y + 64000) * 7 - 142657,        (pos.Z * 9 - 47000) * 6    )endlocal function isEnemy(player)    if player == Services.LocalPlayer then        return false    end    local myStatus = Services.LocalPlayer:FindFirstChild("Status")    local theirStatus = player:FindFirstChild("Status")    if myStatus and theirStatus and myStatus:FindFirstChild("Team") and theirStatus:FindFirstChild("Team") then        return myStatus.Team.Value ~= theirStatus.Team.Value    end    return trueendlocal function Closest()    local camera = Services.WorkSpace.CurrentCamera or Services.CurrentCamera    if not camera then        return    end    local origin = camera.CFrame.Position    local closest, closestDistance    closestDistance = math.huge    for _, player in ipairs(Services.Players:GetPlayers()) do        if isEnemy(player) and player.Character then            local character = player.Character            local humanoid = character:FindFirstChildOfClass("Humanoid") or character:FindFirstChild("Humanoid2")            local head = character:FindFirstChild("HeadHB")                or character:FindFirstChild("FakeHead")                or character:FindFirstChild("Head")            if humanoid and humanoid.Health > 0 and head then                local distance = (head.Position - origin).Magnitude                if distance < closestDistance then                    closestDistance = distance                    closest = head                end            end        end    end    return closestendlocal function getRange()    local banana = Weapons:FindFirstChild("Banana")    if banana and banana:FindFirstChild("Melee") then        return 48    end    if banana and banana:FindFirstChild("Range") then        return banana.Range.Value    end    return 48endlocal function fireHitParl(head)    local character = Services.LocalPlayer.Character    local gunModel = character and character:FindFirstChild("Gun")    if not head or not gunModel then        return    end    local rangeValue = getRange()    local camera = Services.WorkSpace.CurrentCamera or Services.CurrentCamera    local cameraPosition = camera and camera.CFrame.Position or head.Position    local normal = head.Position - cameraPosition    if normal.Magnitude > 0 then        normal = normal.Unit    else        normal = Vector3.new(0, 1, 0)    end    HitParl:FireServer(        head,        encodeHitPos(head.Position),        "Banana",        rangeValue,        gunModel,        nil,        1,        rangeValue == 48,        true,        cameraPosition,        Services.WorkSpace:GetServerTimeNow(),        normal,        true,        true,        true,        true,        true,        nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil    )endtask.spawn(function()    while true do        task.wait(0.08)        local head = Closest()        if head then            if not firebullet then                firebullet = findFireBullet()            end            if firebullet then                pcall(firebullet)            end            pcall(fireHitParl, head)        end    endend)
Latest changeScript publishedAug 27

Comments

Loading comments…