Project Spectre Script | KILL AURA

getgenv().killaura = true

local mobname = { --add the name of the mob you want to killaura i suggest not adding arlo
   "Blyke",
   "Cripple",
   "Isen",
   "Volcan",
   "Zeke",
   "Remi",
   "Byron",
   "Orrin",
   "Farrah",
   "Seraphina",
   "John"
}

local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local character = Player.Character

local function mobn(character)
   for _, mob in ipairs(game.Workspace:GetChildren()) do
      if mob:FindFirstChild("HumanoidRootPart") and mob:FindFirstChild("Humanoid") then
         local compare = (character.HumanoidRootPart.Position - mob.HumanoidRootPart.Position).Magnitude
         if compare < 8 and compare > 0 and mob.Humanoid.Health > 0 and table.find(mobname, mob.Name) then --change the value of detection range here 
            return mob
         end
      end
   end
end

local function onCharacterAdded(character)
   local humanoidRootPart = character:WaitForChild("HumanoidRootPart", math.huge)
   local humanoid = character:WaitForChild("Humanoid")

   while getgenv().killaura do
      local mobpath = mobn(character)

      if mobpath and game.Workspace:FindFirstChild(Player.Name) then
         repeat
            local value = game.Workspace:FindFirstChild(Player.Name).Cancellations.Value
            for i = 1,5 do
         character.HumanoidRootPart.CFrame = mobpath.HumanoidRootPart.CFrame * CFrame.new(0,0,4) --change the position of your self when tping around the mob here        
               game:GetService("ReplicatedStorage"):WaitForChild("Punch"):FireServer(mobpath.Humanoid, i, value)
            end
            wait()
         until mobpath.Humanoid.Health <= 0
      end
      wait()
   end
end

Player.CharacterAdded:Connect(onCharacterAdded)

if Player.Character then
   onCharacterAdded(Player.Character)
end
Scroll to Top