--Feel Free to customize it however you want to :) local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local player = Players.LocalPlayer local UpdateAim = ReplicatedStorage.NetworkComm.CharacterService.UpdateAimDirection_Signal local StartSkill = ReplicatedStorage.NetworkComm.SkillService.StartSkilll_Method local DamageCharacter = ReplicatedStorage.NetworkComm.CombatService.DamageCharacter_Method -- You can change it if you want so local killAuraEnabled = true local killAuraRadius = 100 local function getNpcsFolder() return workspace:FindFirstChild("Characters") and workspace.Characters:FindFirstChild("Server") and workspace.Characters.Server:FindFirstChild("NPCs") end local function getMyServerCharacter() local ok, char = pcall(function() return workspace.Characters.Server.Players:GetChildren()[1] end) return ok and char or nil end local function attackNpc(target, skillId) local myChar = getMyServerCharacter() local myHrp = myChar and myChar:FindFirstChild("HumanoidRootPart") local targetHrp = target and target:FindFirstChild("HumanoidRootPart") if not (myChar and myHrp and targetHrp) then return end local direction = (targetHrp.Position - myHrp.Position).Unit local origin = CFrame.new(myHrp.Position) local windowId = myChar.Name .. "_" .. skillId pcall(function() UpdateAim:FireServer(direction) end) pcall(function() StartSkill:InvokeServer(skillId, myChar, direction, {}, 1, 1) end) task.wait(0.3) pcall(function() DamageCharacter:InvokeServer( { target }, true, { Origin = origin, CanParry = true, WindowID = windowId, LocalCharacter = myChar, SkillID = skillId, } ) end) end task.spawn(function() while true do if killAuraEnabled then local myChar = getMyServerCharacter() local myHrp = myChar and myChar:FindFirstChild("HumanoidRootPart") if myHrp then local npcsFolder = getNpcsFolder() if npcsFolder then local nearest, nearestDist = nil, killAuraRadius for _, npc in ipairs(npcsFolder:GetChildren()) do local hrp = npc:FindFirstChild("HumanoidRootPart") local hum = npc:FindFirstChildOfClass("Humanoid") if hrp and hum and hum.Health > 0 then local dist = (hrp.Position - myHrp.Position).Magnitude if dist < nearestDist then nearestDist = dist nearest = npc end end end if nearest then attackNpc(nearest, "Punch") end end end end task.wait(0.1) end end) return { enable = function() killAuraEnabled = true end, disable = function() killAuraEnabled = false end, setRadius = function(r) killAuraRadius = math.clamp(r, 10, 200) end, isEnabled = function() return killAuraEnabled end, getRadius = function() return killAuraRadius end, }