melee kill aura
Key Required

melee kill aura

Dead Railslogs_7logs_7 9.4K views 19 executesUpdated Mar 5, 2025
5.0/ 5(3 votes)
30100% Positive
Lua Script•36 lines (1400 chars)
-- discord.gg/d66H53XCsX

local Players, Workspace = game:GetService("Players"), game:GetService("Workspace")
local LocalPlayer = Players.LocalPlayer
local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")

local function getTool()
    for _, tool in ipairs(Character:GetChildren()) do
        if tool:IsA("Tool") and tool:FindFirstChild("MeleeSwing") and tool.Parent == Character then
            return tool
        end
    end
    return nil
end

local function checkNPCs()
    local tool = getTool()
    if Humanoid.Health <= 0 or not tool then return end
    local RemoteEvent = tool:FindFirstChild("SwingEvent")
    if not RemoteEvent or tool.Parent ~= Character then return end
    for _, obj in ipairs(Workspace:GetDescendants()) do
        local humanoid, rootPart = obj:FindFirstChild("Humanoid"), obj:FindFirstChild("HumanoidRootPart")
        if humanoid and humanoid.Health > 0 and not Players:GetPlayerFromCharacter(obj) then
            local targetPos = rootPart and rootPart.Position or humanoid.Position
            if (HumanoidRootPart.Position - targetPos).Magnitude <= 18 then
                RemoteEvent:FireServer(targetPos)
            end
        end
    end
end

task.spawn(function()
    while task.wait(0.3) do checkNPCs() end
end)

Features & Information

made by wynnech <3 IF YOU WANT TO USE THIS IN YOUR SCRIPT PLEASE CREDIT ME
#op#overpowered#open source

Community Comments (2)

TbaoHubv1TbaoHubv1Mar 5, 2025(edited)

Working

stalkerh1ckstalkerh1ckMar 5, 2025(edited)

Thanks bro 👍 it's work

More Scripts for Dead Rails