
Key RequiredUniversal

local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local LocalPlayer = Players.LocalPlayer
local Remote = ReplicatedStorage
:WaitForChild("RemoteEvents")
:WaitForChild("Combat")
:WaitForChild("HitHumanoid")
local Levels = {"Low","High"}
local MAX_DISTANCE = 20
local MAX_DISTANCE_SQ = MAX_DISTANCE * MAX_DISTANCE
local enemies = {}
local function characterReady()
local character = LocalPlayer.Character
if not character then return false end
local humanoid = character:FindFirstChildOfClass("Humanoid")
local root = character:FindFirstChild("HumanoidRootPart")
if not humanoid or not root then
return false
end
if humanoid.Health <= 0 then
return false
end
return true
end
local function getWeapon(character)
for _, v in ipairs(character:GetChildren()) do
if v:IsA("Tool") then
return v
end
end
end
local function getRoot(model)
return model:FindFirstChild("HumanoidRootPart")
or model:FindFirstChild("UpperTorso")
or model:FindFirstChild("Torso")
or model.PrimaryPart
end
local function trackModel(model)
if Players:GetPlayerFromCharacter(model) then
return
end
task.spawn(function()
local humanoid = model:FindFirstChildOfClass("Humanoid") or model:WaitForChild("Humanoid",2)
local root = getRoot(model)
if not root then
root = model:WaitForChild("HumanoidRootPart",2)
end
if humanoid and root then
enemies[model] = {
humanoid = humanoid,
root = root
}
humanoid.HealthChanged:Connect(function(h)
if h <= 0 then
enemies[model] = nil
end
end)
model.AncestryChanged:Connect(function(_, parent)
if not parent then
enemies[model] = nil
end
end)
end
end)
end
local function scan(container)
for _, v in ipairs(container:GetDescendants()) do
if v:IsA("Model") then
trackModel(v)
end
end
container.DescendantAdded:Connect(function(obj)
if obj:IsA("Model") then
trackModel(obj)
end
end)
end
scan(workspace)
while true do
task.wait(0.15)
if not characterReady() then
continue
end
if next(enemies) == nil then
continue
end
local Character = LocalPlayer.Character
local Root = Character.HumanoidRootPart
local Weapon = getWeapon(Character)
if not Weapon then
continue
end
for model,data in pairs(enemies) do
local humanoid = data.humanoid
local enemyRoot = data.root
if not humanoid or humanoid.Health <= 0 or not enemyRoot then
enemies[model] = nil
continue
end
local diff = enemyRoot.Position - Root.Position
if diff:Dot(diff) <= MAX_DISTANCE_SQ then
Remote:FireServer(
Weapon,
humanoid,
Levels[math.random(1,2)]
)
end
end
end
a kick from a server called code:201
@kinyrym Most likely votekicked, tried on multiple servers with various pings, no kick. Just... don't attack, the killaura does it for you.
@Rob666 Okay, I'll give it a try.
@Rob666 It doesn't work like that
@Rob666 Would you like to make a simple kill aura for NPCs/mobs?
nope as soon as u spawn w the script open u get kicked out
@FkayLollyPOP Can you describe exactly what you do ? In my case simply executing after s*ing in, equipping my weapon (Katana in my case) it works without getting kicked out so long I don't attack myself.
@Rob666 so i loaded in equiped one of the roles after 10 seconds into the game with the script open u get kick then banned
@FkayLollyPOP Will modify the script to only attack up to 5 targets at the same time WHEN YOU SWING your weapon.
fix this sh* whenever I spawn in I keep getting the error code 201
@y7zz Describe exactly what you do as well dip*
@Rob666 my bad, so whenever I execute the script and hop on the game, I get kicked which is the game's anti cheat system the 201 error code one also im using velocity
@y7zz I just hopped on and it works as intended (well some enemies were not getting hits but that's fixed now). Can you confirm that you spawn in, equip your weapon (as in HOLDING IT) and just walk around ? You're not meant to attack anything, since the delay is already pretty close to their limit
@Rob666 will test now, I'll update you about the script and I'll try two methods, One is me attacking while using the kill aura and the second one is I won't attack and let the kill aura do its thing
@y7zz If you attack while having the killaura running you will hit their limits easily, I highly recommend just letting it do its thing. You can modify the timing in the "task.wait(0.15)" to something like 0.20 it should somewhat help. I'll look into making it more stable with large horde of enemies EDIT : I also think the 2nd cl*es has a bigger range for multi-hits, I recommend using that one
@Rob666 Script works perfectly without attacking but when I attacked, I got kicked I'll try adjusting it to 0.20 and see if it works perfectly
@Rob666 Works well, Is it possible for the script to work while the weapon is swinging?
The kill aura doesn't work for me i didn't hit any enemies also... But when I hit the enemies that are in a group I killed most of them but then I got kicked with error code 201
OH so I need to be on a keyboard to not get kicked I'm on mobile
Did bro know if you not starting attacking kill aura might not work, or its new update broken this script
Sadly you get kick or even ban now and also when I used it it's the opposite I have to attack to get the killaura
It's patched guys
Which executor does it use