Skip to content
RoRoScripts
open source kill aura preview
Unknown

open source kill aura

Script
Views
3.1K
Likes
2
Dislikes
1
Added
Script
-- LoL

local v1 = game:GetService("Players").LocalPlayer
local v2 = game:GetService("ReplicatedStorage").Remotes
local v3 = v1.Character or v1.CharacterAdded:Wait()
local v4 = v3:WaitForChild("HumanoidRootPart")

local function v5()
    local v6, v7 = math.huge, nil
    for _, v8 in pairs(workspace:GetChildren()) do
        local v9 = v8:FindFirstChild("Humanoid")
        if v9 and v9.Health > 0 and not game:GetService("Players"):GetPlayerFromCharacter(v8) then
            local v10 = v8:FindFirstChild("HumanoidRootPart") or v8:FindFirstChild("Head")
            if v10 then
                local v11 = (v4.Position - v10.Position).Magnitude
                if v11 < v6 then
                    v6, v7 = v11, v10
                end
            end
        end
    end
    return v7
end

game:GetService("RunService").Heartbeat:Connect(function()
    local v12 = v3:FindFirstChildOfClass("Tool") or v1.Backpack:FindFirstChild("Fists")
    if v12 then
        local v13 = v5()
        if v13 then
            v2.MeleeAttacked:FireServer(v12, 1)
            v2.MeleeHit:FireServer(v12, v13)
        end
    end
end)

Features

  • source code