local TargetName = "Snowman" -- Put target NPC name here. (Just look at their name tag and copy exactly.)

local RunService = game:GetService("RunService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Net = ReplicatedStorage.Modules.Net
local RegisterAttack = Net["RE/RegisterAttack"]
local RegisterHit = Net["RE/RegisterHit"]

local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local function GetCharacter()
    return LocalPlayer.Character or (LocalPlayer.CharacterAdded:wait() and LocalPlayer.Character)
end

local function GetSessionID()
    -- Get Combat Thread
    local SendHitsToServer = getrenv()._G.SendHitsToServer
    local CombatThread = getupvalues(SendHitsToServer)[1]
    -- Construct Session ID
    local UserIDSlice = tostring(LocalPlayer.UserId):sub(2, 4)
    local MemorySlice = tostring(CombatThread):sub(11, 15)
    -- Combine The Two Parts
    local SessionID = UserIDSlice .. MemorySlice

    return SessionID
end
print("Session ID Test:", GetSessionID())

local function Attack(TargetCharacter)
    RegisterAttack:FireServer(0.5)
    task.wait()
    local dataTable = {
        TargetCharacter:WaitForChild("RightLowerLeg"),
        {},
        nil,
        GetSessionID()
    }
    RegisterHit:FireServer(unpack(dataTable))
end
local Enemies = workspace.Enemies

local RootPart = GetCharacter():WaitForChild("HumanoidRootPart")

while task.wait() do
    for i, Enemy in pairs(Enemies:GetChildren()) do
        if Enemy.Name == TargetName and Enemy:FindFirstChild("Humanoid") and Enemy.Humanoid.Health > 0 then
            local TargetRootPart = Enemy:FindFirstChild("HumanoidRootPart")
            if TargetRootPart then
                repeat task.wait()
                    RootPart.CFrame = CFrame.new(TargetRootPart.Position) * CFrame.new(0, 57, 0)
                    RootPart.Velocity = Vector3.zero
                    task.wait()
                    Attack(Enemy)
                until Enemy.Humanoid.Health == 0
            end
        end
    end
end
[πŸŽƒ] Blox Fruits Auto Kill Open Source with Fast Attack
Mobile Friendly
16,840 views
1 years ago

Auto Kill Open Source with Fast Attack

WORKING
Free

Description

This script will kill all NPC's currently loaded that have the TargetName YOU MUST input it yourself at the top of the script before executing.

If you plan on using any part of this code I require some form of credits.

Information for other scripters:

The function GetSessionID is probably the biggest achievement of this code

it allows you to validate the RegisterAttack calls and obviously you could intercept

the remote but this function can get it at any time without having to wait for remote

or do anything else really.

Features

  • Auto Kill
  • Fast Attack
  • Open Source
  • Educational

Related Scripts