sword kill aura open source
Key RequiredUniversal

sword kill aura open source

Universal ScriptRamboDonaTRamboDonaT 2.2K views 14.1K executesUpdated Jul 7, 2026
Unrated
00
Lua Script•580 lines (26877 chars)
--update v2
local globalRegistry = getgenv()
if globalRegistry.CoreSettings then
    local oldSettings = globalRegistry.CoreSettings
    if oldSettings.ActiveConnections then
        for i = 1, #oldSettings.ActiveConnections do
            pcall(function() oldSettings.ActiveConnections[i]:Disconnect() end)
        end
    end
    if oldSettings.KillSwitch then
        pcall(function()
            oldSettings.KillSwitch:Fire()
            oldSettings.KillSwitch:Destroy()
        end)
    end
    globalRegistry.CoreSettings = nil
end

local KillSwitchEvent = Instance.new("BindableEvent")
globalRegistry.CoreSettings = {
    ActiveConnections = {},
    KillSwitch = KillSwitchEvent,
    CheckHealth = true,
    CheckTeams = false
}

local RuntimeState = {
    EngagePlayers = false,
    EngageNPCs = false,
    RenderHighlights = false,
    CycleHighlights = false,
    FilterEnvironment = false,
    AlignPerspective = false,
    DistanceThreshold = 15,
}

local function safe_cloneref(service)
    return typeof(cloneref) == "function" and cloneref(service) or service
end

local Players = safe_cloneref(game:GetService("Players"))
local RunService = safe_cloneref(game:GetService("RunService"))
local UIS = safe_cloneref(game:GetService("UserInputService"))
local TweenService = safe_cloneref(game:GetService("TweenService"))
local CoreGui = safe_cloneref(game:GetService("CoreGui"))
local Lighting = safe_cloneref(game:GetService("Lighting"))
local LocalPlayer = Players.LocalPlayer

local EngineActive = true
local IntersectionParams = OverlapParams.new()
IntersectionParams.FilterType = Enum.RaycastFilterType.Include

local TrackedHighlights = {}
local CurrentPresenceCount = 0
local DynamicColor = Color3.fromRGB(255, 0, 0)
local EntityCache = {}
local ToolCache = {} 

local EnvironmentDefaults = {
    ClockTime = Lighting.ClockTime,
    Ambient = Lighting.Ambient,
    OutdoorAmbient = Lighting.OutdoorAmbient,
    Brightness = Lighting.Brightness,
    FogEnd = Lighting.FogEnd,
    FogStart = Lighting.FogStart,
    ExposureCompensation = Lighting.ExposureCompensation
}

local ColorPalette = {
    Background = Color3.fromRGB(12, 12, 12),
    GroupBackground = Color3.fromRGB(18, 18, 18),
    Border = Color3.fromRGB(26, 26, 26),
    Primary = Color3.fromRGB(157, 78, 221),
    TextLight = Color3.fromRGB(245, 245, 245),
    TextMuted = Color3.fromRGB(90, 90, 95)
}

local function FetchCharacter(source)
    local p = source or LocalPlayer
    return p.Character
end

local function FetchHumanoid(model)
    return model and model:FindFirstChildWhichIsA("Humanoid")
end

local function VerifyVitality(humanoid)
    return humanoid and humanoid.Health > 0
end

local function FetchLink(tool)
    if not tool then return nil end
    local cached = ToolCache[tool]
    if cached and cached.Parent and cached:IsDescendantOf(tool) then
        return cached
    end
    
    local descendants = tool:GetDescendants()
    for i = 1, #descendants do
        local desc = descendants[i]
        if desc:IsA("TouchInterest") or desc.Name == "TouchInterest" then
            ToolCache[tool] = desc
            return desc
        end
    end
    ToolCache[tool] = nil
    return nil
end

local function EvaluateEntity(model)
    if not model or not model:IsA("Model") or model == FetchCharacter() then return false end
    if Players:GetPlayerFromCharacter(model) then return false end
    return FetchHumanoid(model) ~= nil
end

local function RegisterEntity(instance)
    if instance:IsA("Model") and EvaluateEntity(instance) then
        EntityCache[instance] = true
    elseif instance:IsA("Humanoid") then
        local parent = instance.Parent
        if parent and parent:IsA("Model") and EvaluateEntity(parent) then
            EntityCache[parent] = true
        end
    end
end

local function UnregisterEntity(instance)
    EntityCache[instance] = nil
    if instance:IsA("Humanoid") then
        local parent = instance.Parent
        if parent then EntityCache[parent] = nil end
    end
end

local function OrientPerspective(character, targetPosition)
    local root = character and character:FindFirstChild("HumanoidRootPart")
    if not root then return end
    local currentPosition = root.Position
    local planarTarget = Vector3.new(targetPosition.X, currentPosition.Y, targetPosition.Z)
    if (planarTarget - currentPosition).Magnitude < 0.1 then return end
    root.CFrame = CFrame.new(currentPosition, planarTarget)
end

local function ResetHighlights()
    for id, highlight in pairs(TrackedHighlights) do
        pcall(function() highlight:Destroy() end)
        TrackedHighlights[id] = nil
    end
end

for _, descendant in ipairs(workspace:GetDescendants()) do
    RegisterEntity(descendant)
end

table.insert(globalRegistry.CoreSettings.ActiveConnections, workspace.DescendantAdded:Connect(function(descendant)
    RegisterEntity(descendant)
end))

table.insert(globalRegistry.CoreSettings.ActiveConnections, workspace.DescendantRemoving:Connect(function(descendant)
    UnregisterEntity(descendant)
end))

table.insert(globalRegistry.CoreSettings.ActiveConnections, KillSwitchEvent.Event:Connect(function()
    EngineActive = false
    ResetHighlights()
    table.clear(EntityCache)
    table.clear(ToolCache)
    local humanoid = FetchHumanoid(FetchCharacter())
    if humanoid then humanoid.AutoRotate = true end
end))

local InterfaceContainer = Instance.new("ScreenGui")
InterfaceContainer.Name = "BaseModuleContainer"
InterfaceContainer.ResetOnSpawn = false

local injectionSuccess, _ = pcall(function()
    if syn and syn.protect_gui then 
        syn.protect_gui(InterfaceContainer) 
        InterfaceContainer.Parent = CoreGui
    else 
        InterfaceContainer.Parent = CoreGui 
    end
end)
if not injectionSuccess or not InterfaceContainer.Parent then
    InterfaceContainer.Parent = LocalPlayer:WaitForChild("PlayerGui")
end

local MainPanel = Instance.new("Frame")
MainPanel.Size = UDim2.new(0, 350, 0, 270)
MainPanel.Position = UDim2.new(0.5, -175, 0.4, -135)
MainPanel.BackgroundColor3 = ColorPalette.Background
MainPanel.ClipsDescendants = true
MainPanel.Visible = true 
MainPanel.Parent = InterfaceContainer

Instance.new("UICorner").CornerRadius = UDim.new(0, 8)
local FrameBorder = Instance.new("UIStroke") FrameBorder.Color = ColorPalette.Border FrameBorder.Thickness = 1.5 FrameBorder.Parent = MainPanel

local AccentBar = Instance.new("Frame")
AccentBar.Size = UDim2.new(1, 0, 0, 3)
AccentBar.BorderSizePixel = 0
AccentBar.Parent = MainPanel
local AccentGradient = Instance.new("UIGradient")
AccentGradient.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255,255,255)), ColorSequenceKeypoint.new(0.4, ColorPalette.Primary), ColorSequenceKeypoint.new(1, Color3.fromRGB(20, 0, 40))})
AccentGradient.Parent = AccentBar

local HeaderLabel = Instance.new("TextLabel")
HeaderLabel.Size = UDim2.new(1, -20, 0, 35)
HeaderLabel.Position = UDim2.new(0, 15, 0, 5)
HeaderLabel.Text = "Enjoy your script"
HeaderLabel.TextColor3 = ColorPalette.TextLight
HeaderLabel.TextSize = 14
HeaderLabel.Font = Enum.Font.Code
HeaderLabel.BackgroundTransparency = 1
HeaderLabel.TextXAlignment = Enum.TextXAlignment.Left
HeaderLabel.Parent = MainPanel

local NavigationContainer = Instance.new("Frame")
NavigationContainer.Size = UDim2.new(0, 95, 1, -50)
NavigationContainer.Position = UDim2.new(0, 12, 0, 40)
NavigationContainer.BackgroundTransparency = 1
NavigationContainer.Parent = MainPanel
local NavigationLayout = Instance.new("UIListLayout") NavigationLayout.Padding = UDim.new(0, 6) NavigationLayout.Parent = NavigationContainer

local ViewportContainer = Instance.new("Frame")
ViewportContainer.Size = UDim2.new(1, -130, 1, -50)
ViewportContainer.Position = UDim2.new(0, 118, 0, 40)
ViewportContainer.BackgroundTransparency = 1
ViewportContainer.Parent = MainPanel

local ViewportSections = {}
local ActiveNavigationButton = nil

local function AppendSection(title, isDefault)
    local button = Instance.new("TextButton")
    button.Size = UDim2.new(1, 0, 0, 28)
    button.BackgroundColor3 = ColorPalette.GroupBackground
    button.Text = "  " .. title
    button.Font = Enum.Font.SourceSansBold
    button.TextSize = 13
    button.TextColor3 = isDefault and ColorPalette.Primary or ColorPalette.TextMuted
    button.TextXAlignment = Enum.TextXAlignment.Left
    button.Parent = NavigationContainer
    Instance.new("UICorner").CornerRadius = UDim.new(0, 5)
    local border = Instance.new("UIStroke") border.Color = ColorPalette.Border border.Thickness = 1 border.Parent = button

    local contentFrame = Instance.new("ScrollingFrame")
    contentFrame.Size = UDim2.new(1, 0, 1, 0)
    contentFrame.BackgroundTransparency = 1
    contentFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
    contentFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y
    contentFrame.ScrollBarThickness = 2
    contentFrame.ScrollBarImageColor3 = ColorPalette.Primary
    contentFrame.Visible = isDefault
    contentFrame.Parent = ViewportContainer
    local contentLayout = Instance.new("UIListLayout") contentLayout.Padding = UDim.new(0, 8) contentLayout.Parent = contentFrame

    ViewportSections[title] = contentFrame
    if isDefault then ActiveNavigationButton = button end

    button.MouseButton1Click:Connect(function()
        if ActiveNavigationButton then TweenService:Create(ActiveNavigationButton, TweenInfo.new(0.15), {TextColor3 = ColorPalette.TextMuted}):Play() end
        TweenService:Create(button, TweenInfo.new(0.15), {TextColor3 = ColorPalette.Primary}):Play()
        ActiveNavigationButton = button
        for _, section in pairs(ViewportSections) do section.Visible = false end
        contentFrame.Visible = true
    end)
    return contentFrame
end

local MainSection = AppendSection("Main", true)
local OverlaySection = AppendSection("Visuals", false)
local DataSection = AppendSection("Data", false)

local function AppendInterfaceToggle(parent, title, state, action)
    local frame = Instance.new("Frame") frame.Size = UDim2.new(1, -6, 0, 30) frame.BackgroundColor3 = Color3.fromRGB(16, 16, 16) frame.Parent = parent
    Instance.new("UICorner").CornerRadius = UDim.new(0, 5)
    local border = Instance.new("UIStroke") border.Color = ColorPalette.Border border.Parent = frame

    local textLabel = Instance.new("TextLabel") textLabel.Size = UDim2.new(1, -50, 1, 0) textLabel.Position = UDim2.new(0, 10, 0, 0) textLabel.Text = title textLabel.TextColor3 = ColorPalette.TextLight textLabel.Font = Enum.Font.SourceSansSemibold textLabel.TextSize = 14 textLabel.TextXAlignment = Enum.TextXAlignment.Left textLabel.BackgroundTransparency = 1 textLabel.Parent = frame

    local toggleButton = Instance.new("TextButton") toggleButton.Size = UDim2.new(0, 34, 0, 16) toggleButton.Position = UDim2.new(1, -42, 0.5, -8) toggleButton.BackgroundColor3 = state and ColorPalette.Primary or Color3.fromRGB(24, 24, 24) toggleButton.Text = "" toggleButton.Parent = frame
    Instance.new("UICorner").CornerRadius = UDim.new(0, 8)

    local switchNode = Instance.new("Frame") switchNode.Size = UDim2.new(0, 12, 0, 12) switchNode.Position = state and UDim2.new(1, -14, 0.5, -6) or UDim2.new(0, 2, 0.5, -6) switchNode.BackgroundColor3 = Color3.fromRGB(255, 255, 255) switchNode.Parent = toggleButton
    Instance.new("UICorner").CornerRadius = UDim.new(1, 0)

    local activeState = state
    toggleButton.MouseButton1Click:Connect(function()
        activeState = not activeState
        local targetPosition = activeState and UDim2.new(1, -14, 0.5, -6) or UDim2.new(0, 2, 0.5, -6)
        local targetBackground = activeState and ColorPalette.Primary or Color3.fromRGB(24, 24, 24)
        TweenService:Create(switchNode, TweenInfo.new(0.25, Enum.EasingStyle.Quint), {Position = targetPosition}):Play()
        TweenService:Create(toggleButton, TweenInfo.new(0.25, Enum.EasingStyle.Quint), {BackgroundColor3 = targetBackground}):Play()
        action(activeState)
    end)
end

local function AppendInterfaceInput(parent, title, placeholder, action)
    local frame = Instance.new("Frame") frame.Size = UDim2.new(1, -6, 0, 30) frame.BackgroundColor3 = Color3.fromRGB(16, 16, 16) frame.Parent = parent
    Instance.new("UICorner").CornerRadius = UDim.new(0, 5)
    local frameBorder = Instance.new("UIStroke") frameBorder.Color = ColorPalette.Border frameBorder.Parent = frame
    
    local textLabel = Instance.new("TextLabel") textLabel.Size = UDim2.new(0, 90, 1, 0) textLabel.Position = UDim2.new(0, 10, 0, 0) textLabel.Text = title textLabel.TextColor3 = ColorPalette.TextMuted textLabel.Font = Enum.Font.SourceSans textLabel.TextSize = 14 textLabel.TextXAlignment = Enum.TextXAlignment.Left textLabel.BackgroundTransparency = 1 textLabel.Parent = frame
    local inputField = Instance.new("TextBox") inputField.Size = UDim2.new(1, -110, 0, 20) inputField.Position = UDim2.new(0, 100, 0.5, -10) inputField.BackgroundColor3 = Color3.fromRGB(24, 24, 24) inputField.TextColor3 = ColorPalette.TextLight inputField.Text = placeholder inputField.Font = Enum.Font.SourceSansSemibold inputField.TextSize = 13 inputField.Parent = frame
    Instance.new("UICorner").CornerRadius = UDim.new(0, 4)
    local inputBorder = Instance.new("UIStroke") inputBorder.Color = Color3.fromRGB(34, 34, 34) inputBorder.Parent = inputField
    inputField.FocusLost:Connect(function() action(inputField.Text) end)
end

local function AppendDataDisplay(parent, title)
    local frame = Instance.new("Frame") frame.Size = UDim2.new(1, -5, 0, 22) frame.BackgroundTransparency = 1 frame.Parent = parent
    local textLabel = Instance.new("TextLabel") textLabel.Size = UDim2.new(0, 110, 1, 0) textLabel.Text = " " .. title textLabel.TextColor3 = ColorPalette.TextMuted textLabel.Font = Enum.Font.Code textLabel.TextSize = 12 textLabel.TextXAlignment = Enum.TextXAlignment.Left textLabel.BackgroundTransparency = 1 textLabel.Parent = frame
    local valueLabel = Instance.new("TextLabel") valueLabel.Size = UDim2.new(1, -115, 1, 0) valueLabel.Position = UDim2.new(0, 115, 0, 0) valueLabel.Text = "---" valueLabel.TextColor3 = ColorPalette.Primary valueLabel.Font = Enum.Font.Code valueLabel.TextSize = 12 valueLabel.TextXAlignment = Enum.TextXAlignment.Left valueLabel.Parent = frame
    return valueLabel
end

AppendInterfaceToggle(MainSection, "Player Aura", RuntimeState.EngagePlayers, function(state) RuntimeState.EngagePlayers = state end)
AppendInterfaceToggle(MainSection, "NPC Aura", RuntimeState.EngageNPCs, function(state) RuntimeState.EngageNPCs = state end)
AppendInterfaceToggle(MainSection, "Team Check", globalRegistry.CoreSettings.CheckTeams, function(state) globalRegistry.CoreSettings.CheckTeams = state end)
AppendInterfaceToggle(MainSection, "Look At Target", RuntimeState.AlignPerspective, function(state) 
    RuntimeState.AlignPerspective = state 
    if not state then
        local humanoid = FetchHumanoid(FetchCharacter())
        if humanoid then humanoid.AutoRotate = true end
    end
end)

AppendInterfaceInput(MainSection, "Distance:", tostring(RuntimeState.DistanceThreshold), function(input)
    local sanitized = input:lower():gsub("%s+", "")
    local numericValue = tonumber(sanitized) or (sanitized:find("inf") and math.huge)
    if numericValue and numericValue > 0 then RuntimeState.DistanceThreshold = numericValue end
end)

AppendInterfaceToggle(OverlaySection, "Chams", RuntimeState.RenderHighlights, function(state) 
    RuntimeState.RenderHighlights = state if not state then ResetHighlights() end 
end)
AppendInterfaceToggle(OverlaySection, "Rainbow Chams", RuntimeState.CycleHighlights, function(state) RuntimeState.CycleHighlights = state end)
AppendInterfaceToggle(OverlaySection, "Fullbright", RuntimeState.FilterEnvironment, function(state)
    RuntimeState.FilterEnvironment = state
    if state then
        Lighting.TimeOfDay = "00:00:00" Lighting.Brightness = 0
        Lighting.Ambient = Color3.fromRGB(115, 115, 125) Lighting.OutdoorAmbient = Color3.fromRGB(85, 85, 95)
        Lighting.FogEnd = 1e5 Lighting.ExposureCompensation = 0.5
    else
        Lighting.ClockTime = EnvironmentDefaults.ClockTime Lighting.Brightness = EnvironmentDefaults.Brightness
        Lighting.Ambient = EnvironmentDefaults.Ambient Lighting.OutdoorAmbient = EnvironmentDefaults.OutdoorAmbient
        Lighting.FogEnd = EnvironmentDefaults.FogEnd Lighting.ExposureCompensation = EnvironmentDefaults.ExposureCompensation
    end
end)

local DisplayActiveCount = AppendDataDisplay(DataSection, "Targets Hit:")
local DisplayStatus = AppendDataDisplay(DataSection, "Status:")

local AccessButton = Instance.new("TextButton")
AccessButton.Size = UDim2.new(0, 48, 0, 48)
AccessButton.Position = UDim2.new(0, 20, 0, 60)
AccessButton.BackgroundColor3 = Color3.fromRGB(14, 14, 14)
AccessButton.Text = "⚙️"
AccessButton.TextColor3 = Color3.fromRGB(255, 255, 255)
AccessButton.TextSize = 20
AccessButton.Parent = InterfaceContainer
local ButtonBorder = Instance.new("UIStroke") ButtonBorder.Color = ColorPalette.Primary ButtonBorder.Thickness = 2 ButtonBorder.Parent = AccessButton

AccessButton.MouseButton1Click:Connect(function()
    if MainPanel.Visible then
        TweenService:Create(MainPanel, TweenInfo.new(0.2, Enum.EasingStyle.Quint), {Size = UDim2.new(0, 350, 0, 0)}):Play()
        task.wait(0.18) MainPanel.Visible = false
    else
        MainPanel.Size = UDim2.new(0, 350, 0, 0) MainPanel.Visible = true
        TweenService:Create(MainPanel, TweenInfo.new(0.25, Enum.EasingStyle.Quint), {Size = UDim2.new(0, 350, 0, 270)}):Play()
    end
end)

local isDragging, dragStart, frameStartPos
local dragConnection
MainPanel.InputBegan:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
        isDragging = true dragStart = input.Position frameStartPos = MainPanel.Position
        if dragConnection then dragConnection:Disconnect() end
        dragConnection = input.Changed:Connect(function() 
            if input.UserInputState == Enum.UserInputState.End then 
                isDragging = false 
                if dragConnection then dragConnection:Disconnect() dragConnection = nil end
            end 
        end)
    end
end)
UIS.InputChanged:Connect(function(input)
    if isDragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
        local offset = input.Position - dragStart
        MainPanel.Position = UDim2.new(frameStartPos.X.Scale, frameStartPos.X.Offset + offset.X, frameStartPos.Y.Scale, frameStartPos.Y.Offset + offset.Y)
    end
end)

task.spawn(function()
    local progression = 0
    while EngineActive do
        progression = (progression + 0.01) % 1 
        DynamicColor = Color3.fromHSV(progression, 0.8, 1) 
        task.wait(0.03)
    end
end)

task.spawn(function()
    while EngineActive do
        pcall(function()
            DisplayActiveCount.Text = tostring(CurrentPresenceCount)
            DisplayStatus.Text = (RuntimeState.EngagePlayers or RuntimeState.EngageNPCs) and "ACTIVE" or "DISABLED"
        end)
        task.wait(0.25)
    end
end)

local function BuildHighlight(target, identity)
    if not RuntimeState.RenderHighlights then return end
    local selectedColor = RuntimeState.CycleHighlights and DynamicColor or ColorPalette.Primary
    
    if not TrackedHighlights[identity] then
        local highlightInstance = Instance.new("Highlight")
        highlightInstance.Name = "TrackingNode"
        highlightInstance.FillTransparency = 0.4
        highlightInstance.OutlineColor = Color3.fromRGB(255, 255, 255)
        highlightInstance.Adornee = target
        
        local parentSuccess = pcall(function() highlightInstance.Parent = CoreGui end)
        if not parentSuccess then highlightInstance.Parent = InterfaceContainer end
        TrackedHighlights[identity] = highlightInstance
    end
    TrackedHighlights[identity].FillColor = selectedColor
end

local function ImmediateExecution(toolPart, targetPart)
    pcall(function()
        firetouchinterest(toolPart, targetPart, 1)
        firetouchinterest(toolPart, targetPart, 0)
    end)
end

local cacheCleanupCounter = 0

-- МАКСИМАЛЬНАЯ СКОРОСТЬ: Возвращено на Heartbeat без искусственных задержек ударов
while EngineActive do
    local character = FetchCharacter()
    local humanoid = FetchHumanoid(character)
    
    if VerifyVitality(humanoid) then
        local rootPart = character:FindFirstChild("HumanoidRootPart")
        local activeTool = character:FindFirstChildWhichIsA("Tool")
        local executionLink = FetchLink(activeTool)

        if not executionLink or not rootPart then
            CurrentPresenceCount = 0
            ResetHighlights()
            if humanoid.AutoRotate == false then humanoid.AutoRotate = true end
        else
            local coreToolPart = executionLink.Parent 
            local populationPool = {}
            local linkMap = {} 
            
            if RuntimeState.EngagePlayers then
                local allPlayers = Players:GetPlayers()
                for i = 1, #allPlayers do
                    local player = allPlayers[i]
                    if player ~= LocalPlayer and player.Character and player.Character.Parent then
                        if globalRegistry.CoreSettings.CheckTeams and not player.Neutral and not LocalPlayer.Neutral and player.TeamColor == LocalPlayer.TeamColor then
                            continue
                        end
                        table.insert(populationPool, player.Character)
                        linkMap[player.Character] = player
                    end
                end
            end

            if RuntimeState.EngageNPCs then
                for npcInstance in pairs(EntityCache) do
                    if npcInstance and npcInstance.Parent then
                        table.insert(populationPool, npcInstance)
                        linkMap[npcInstance] = npcInstance
                    end
                end
            end
            
            cacheCleanupCounter = cacheCleanupCounter + 1
            if cacheCleanupCounter >= 60 then -- На Heartbeat очищаем чуть реже (раз в 60 тиков)
                cacheCleanupCounter = 0
                local toRemove = {}
                for npcInstance in pairs(EntityCache) do
                    if not npcInstance or not npcInstance.Parent then table.insert(toRemove, npcInstance) end
                end
                for i = 1, #toRemove do EntityCache[toRemove[i]] = nil end
            end
            
            IntersectionParams.FilterDescendantsInstances = populationPool
            local spatialCFrame = coreToolPart.CFrame
            local expansionFactor = RuntimeState.DistanceThreshold
            local spatialSize = coreToolPart.Size + Vector3.new(expansionFactor, expansionFactor, expansionFactor)
            local structuralMatches = workspace:GetPartBoundsInBox(spatialCFrame, spatialSize, IntersectionParams)
            
            local activeCountThisFrame = 0
            local registeredHitsThisFrame = {}
            local highlightedModels = {} 

            local matchesLength = #structuralMatches
            if matchesLength > 0 then
                local referencePosition = rootPart.Position
                local closestTargetPosition = nil
                local minDistance = math.huge

                for i = 1, matchesLength do
                    local part = structuralMatches[i]
                    local modelAncestor = part:FindFirstAncestorWhichIsA("Model")
                    local mappingIdentity = linkMap[modelAncestor]
                    
                    if modelAncestor and mappingIdentity then
                        local targetHumanoid = FetchHumanoid(modelAncestor)
                        local targetRoot = modelAncestor:FindFirstChild("HumanoidRootPart") or part
                        
                        if targetRoot and (not globalRegistry.CoreSettings.CheckHealth or VerifyVitality(targetHumanoid)) then
                            local offsetVector = referencePosition - targetRoot.Position
                            local squaredDistance = offsetVector:Dot(offsetVector)

                            if squaredDistance < minDistance then
                                minDistance = squaredDistance
                                closestTargetPosition = targetRoot.Position
                            end

                            if not highlightedModels[modelAncestor] then
                                highlightedModels[modelAncestor] = true
                                activeCountThisFrame = activeCountThisFrame + 1
                                BuildHighlight(modelAncestor, mappingIdentity)
                            end
                            
                            registeredHitsThisFrame[mappingIdentity] = modelAncestor
                            
                            ImmediateExecution(coreToolPart, part)
                            
                            local headNode = modelAncestor:FindFirstChild("Head")
                            local rootNode = modelAncestor:FindFirstChild("HumanoidRootPart")
                            if headNode then ImmediateExecution(coreToolPart, headNode) end
                            if rootNode and rootNode ~= part then ImmediateExecution(coreToolPart, rootNode) end
                        end
                    end
                end

                if activeCountThisFrame > 0 and activeTool:IsDescendantOf(workspace) then
                    -- МАКСИМАЛЬНАЯ СКОРОСТЬ: Кликаем каждый кадр без лимитов
                    pcall(function() activeTool:Activate() end)
                    
                    if RuntimeState.AlignPerspective and closestTargetPosition then
                        humanoid.AutoRotate = false
                        OrientPerspective(character, closestTargetPosition)
                    else
                        if humanoid.AutoRotate == false then humanoid.AutoRotate = true end
                    end
                end
            end
            
            CurrentPresenceCount = activeCountThisFrame

            for identity, highlight in pairs(TrackedHighlights) do
                if not registeredHitsThisFrame[identity] then
                    pcall(function() highlight:Destroy() end)
                    TrackedHighlights[identity] = nil
                elseif RuntimeState.CycleHighlights then
                    highlight.FillColor = DynamicColor
                end
            end
            
            if activeCountThisFrame == 0 and RuntimeState.AlignPerspective and humanoid.AutoRotate == false then
                humanoid.AutoRotate = true
            end
        end
    else
        CurrentPresenceCount = 0
        ResetHighlights()
    end
    
    RunService.Heartbeat:Wait()
end

Features & Information

open source killaura script(for swords), optimized, with esp (yes it vibecoded, but you need to try this) mobile friendly still wip: * Look At Target is unfinished and needs more work * gui is kinda scuffed rn, gonna improve it later feel free to test it, report bugs or make a pr
#sword aura#killaura#aura#kill

Community Comments (1)

RamboDonaTRamboDonaTJul 7, 2026

loadstring(game:HttpGet("https://rawscripts.net/raw/Universal-Script-sword-kill-aura-open-source-241692"))() --for easier copy

More Scripts for Universal Scripts