--[[ KillAura GUI [By Request] ✔ Tombol ON/OFF (warna hijau/merah) ✔ TextBox untuk atur range ✔ KillAura, KillAll, SilentMode ✔ GUI bisa digeser bebas ]] local Players = game:GetService("Players") local RunService = game:GetService("RunService") local lp = Players.LocalPlayer -- GUI Setup local gui = Instance.new("ScreenGui", lp:WaitForChild("PlayerGui")) gui.Name = "SwordAuraGUI" gui.ResetOnSpawn = false local frame = Instance.new("Frame", gui) frame.Size = UDim2.new(0, 180, 0, 120) frame.Position = UDim2.new(0, 10, 1, -180) frame.BackgroundColor3 = Color3.fromRGB(0, 0, 255) -- Ubah warna latar belakang menjadi biru frame.BorderSizePixel = 0 frame.Active = true frame.Draggable = true -- Helper functions local function makeToggle(name, y) local btn = Instance.new("TextButton", frame) btn.Size = UDim2.new(0, 110, 0, 25) btn.Position = UDim2.new(0, 10, 0, y) btn.Text = name .. ": OFF" btn.TextColor3 = Color3.new(1, 1, 1) btn.BackgroundColor3 = Color3.fromRGB(200, 0, 0) btn.Font = Enum.Font.Gotham btn.TextSize = 14 return btn end local function setButtonState(btn, state) btn.Text = btn.Text:split(":")[1] .. ": " .. (state and "ON" or "OFF") btn.BackgroundColor3 = state and Color3.fromRGB(0, 200, 0) or Color3.fromRGB(200, 0, 0) end -- Tombol utama local toggleAura = makeToggle("KillAura", 10) local toggleKillAll = makeToggle("KillAll", 40) local toggleSilent = makeToggle("SilentMode", 70) -- Range box local box = Instance.new("TextBox", frame) box.Size = UDim2.new(0, 50, 0, 25) box.Position = UDim2.new(0, 130, 0, 10) box.Text = "15" box.BackgroundColor3 = Color3.fromRGB(50, 50, 50) box.TextColor3 = Color3.new(1, 1, 1) box.ClearTextOnFocus = false box.Font = Enum.Font.Gotham box.TextSize = 14 -- Variabel local auraEnabled = false local killAllEnabled = false local silentEnabled = false local range = tonumber(box.Text) or 15 -- Toggle logic toggleAura.MouseButton1Click:Connect(function() auraEnabled = not auraEnabled setButtonState(toggleAura, auraEnabled) end) toggleKillAll.MouseButton1Click:Connect(function() killAllEnabled = not killAllEnabled setButtonState(toggleKillAll, killAllEnabled) end) toggleSilent.MouseButton1Click:Connect(function() silentEnabled = not silentEnabled setButtonState(toggleSilent, silentEnabled) end) box.FocusLost:Connect(function() local r = tonumber(box.Text) if r then range = math.clamp(r, 1, 999) end end) -- Auto equip sword local function autoEquip() local char = lp.Character local bp = lp:FindFirstChild("Backpack") if not (char and bp) then return end for _, tool in pairs(bp:GetChildren()) do if tool:IsA("Tool") then tool.Parent = char break end end end if lp.Character then autoEquip() end lp.CharacterAdded:Connect(function() wait(1) autoEquip() end) -- KillAura & KillAll logic RunService.Heartbeat:Connect(function() if not (auraEnabled or killAllEnabled) then return end local char = lp.Character if not char then return end local tool = char:FindFirstChildOfClass("Tool") local handle = tool and tool:FindFirstChild("Handle") local hrp = char:FindFirstChild("HumanoidRootPart") if not (tool and handle and hrp) then return end for _, plr in ipairs(Players:GetPlayers()) do if plr ~= lp and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then local enemy = plr.Character local eHRP = enemy:FindFirstChild("HumanoidRootPart") local eHum = enemy:FindFirstChild("Humanoid") if eHRP and eHum and eHum.Health > 0 then local dist = (hrp.Position - eHRP.Position).Magnitude if (auraEnabled and dist <= range) or killAllEnabled then if not silentEnabled then tool:Activate() end for _, part in pairs(enemy:GetChildren()) do if part:IsA("BasePart") then firetouchinterest(handle, part, 0) firetouchinterest(handle, part, 1) end end end end end end end)