
Keyless

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("DealDamage")
local Library = loadstring(game:HttpGet(
"https://raw.githubusercontent.com/theneutral0ne/wally-modified/refs/heads/main/wally-modified.lua"
))()
local Flags = {}
local Window = Library:CreateWindow("Targeting")
Window:Section("Combat")
Window:Toggle("Kill Aura", {
location = Flags,
flag = "KillAura",
default = false,
})
local currentTarget = nil
RunService.RenderStepped:Connect(function()
if not Flags.KillAura then
currentTarget = nil
return
end
local character = localPlayer.Character
local playerRootPart = character and character:FindFirstChild("HumanoidRootPart")
if not playerRootPart then
currentTarget = nil
return
end
local closestEnemy = nil
local closestDistance = math.huge
for _, mobFolder in mobFolders do
for _, enemy in mobFolder:GetChildren() do
local humanoid = enemy:FindFirstChildOfClass("Humanoid")
local enemyRootPart = enemy:FindFirstChild("HumanoidRootPart")
if humanoid
and humanoid.Health > 0
and enemyRootPart
and enemyRootPart:IsA("BasePart")
then
local distance = (enemyRootPart.Position - playerRootPart.Position).Magnitude
if distance < closestDistance then
closestDistance = distance
closestEnemy = enemy
end
end
end
end
currentTarget = closestEnemy
if currentTarget then
dealDamageRemote:FireServer({ buffer.fromstring(currentTarget.Name) })
end
end)No comments yet for this script.