
Key Required
Bleach Soul Of End KillAura
Lua Script•66 lines (1764 chars)
local plr = game.Players.LocalPlayer
local c = plr.Character or plr.CharacterAdded:Wait()
local Loop = false
local Slider = 0
local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/bloodball/-back-ups-for-libs/main/wizard"))()
local Window = Library:NewWindow("Bleach Soul Of End")
local Section = Window:NewSection("Main")
Section:CreateToggle("KillAura", function(bool)
Loop = bool
end)
Section:CreateSlider("KillAura Distance", 0, 100, 15, false, function(value)
Slider = value
end)
-- Damage function
local function Damage(bot)
local args = {
[1] = "Damage",
[2] = {
["Character"] = bot,
["Humanoid"] = bot:FindFirstChildOfClass("Humanoid"),
["OtherPart"] = bot:FindFirstChild("Head")
}
}
game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("Weapon"):FireServer(unpack(args))
end
-- Distance function
local function GetDistance(part1, part2)
return (part1.Position - part2.Position).Magnitude
end
-- Nearest mob function with PrimaryPart check
local function Nearest()
local Mob, MinDistance = nil, math.huge
for _, v in pairs(workspace.Spawners:GetDescendants()) do
local hum = v:FindFirstChildOfClass("Humanoid")
local hrp = v:FindFirstChild("HumanoidRootPart")
if hum and hrp and hum.Health > 0 then
local mag = (hrp.Position - c:WaitForChild("HumanoidRootPart").Position).Magnitude
if mag < MinDistance then
Mob = v
MinDistance = mag
end
end
end
return Mob
end
-- KillAura loop
spawn(function()
while wait() do
if Loop then
local bot = Nearest()
if bot then
local targetPart = bot:FindFirstChild("HumanoidRootPart")
if targetPart and GetDistance(c.HumanoidRootPart, targetPart) <= Slider then
Damage(bot)
end
end
end
end
end)Features & Information
Only works in world 1 for now.
Community Comments (0)
No comments yet for this script.
