Run it
Copy the script and paste it into your executor.
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local localPlayer = Players.LocalPlayer
local mobs = workspace:WaitForChild("Mobs")
local mobFolders = {
mobs:WaitForChild("Regular"),
mobs:WaitForChild("MegaBoss"),
}
local dealDamageRemote = ReplicatedStorage:WaitForChild("Remotes"):WaitForChild()
Library = (:(
))()
Flags = {}
Window = Library:()
Window:()
Window:(, {
location = Flags,
flag = ,
default = ,
})
currentTarget =
RunService.RenderStepped:(()
Flags.KillAura
currentTarget =
character = localPlayer.Character
playerRootPart = character character:()
playerRootPart
currentTarget =
closestEnemy =
closestDistance = .huge
_, mobFolder mobFolders
_, enemy mobFolder:()
humanoid = enemy:()
enemyRootPart = enemy:()
humanoid
humanoid.Health >
enemyRootPart
enemyRootPart:()
distance = (enemyRootPart.Position - playerRootPart.Position).Magnitude
distance < closestDistance
closestDistance = distance
closestEnemy = enemy
currentTarget = closestEnemy
currentTarget
dealDamageRemote:({ buffer.(currentTarget.Name) })
)
Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: raw.githubusercontent.com.
Kill Aura