-- The Battle Bricks - Instant Kill Enemies Only (Simple Panel) local Workspace = game:GetService("Workspace") local RunService = game:GetService("RunService") local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") -- Correct folder access local function getEnemyFolder() local npcFolders = Workspace:FindFirstChild("NPCFolders") if npcFolders then return npcFolders:FindFirstChild("EnemyFolder") end return nil end local function getAllEnemies() local enemies = {} local enemyFolder = getEnemyFolder() if enemyFolder then for _, enemy in ipairs(enemyFolder:GetChildren()) do if enemy:IsA("Model") and enemy:FindFirstChild("Humanoid") then local hum = enemy.Humanoid if hum.Health > 0 then table.insert(enemies, enemy) end end end end return enemies end -- GUI (Video Style) local screenGui = Instance.new("ScreenGui") screenGui.ResetOnSpawn = false screenGui.Parent = playerGui local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 280, 0, 180) frame.Position = UDim2.new(1, -300, 0.2, 0) frame.BackgroundColor3 = Color3.fromRGB(20, 20, 20) frame.Active = true frame.Draggable = true frame.Parent = screenGui Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 10) local title = Instance.new("TextLabel") title.Size = UDim2.new(1, 0, 0, 40) title.Position = UDim2.new(0, 0, 1, -40) title.BackgroundTransparency = 1 title.Text = "text" title.TextColor3 = Color3.new(1,1,1) title.TextScaled = true title.Font = Enum.Font.GothamBold title.Parent = frame local killBtn = Instance.new("TextButton") killBtn.Size = UDim2.new(1, -20, 0, 70) killBtn.Position = UDim2.new(0, 10, 0, 20) killBtn.BackgroundColor3 = Color3.fromRGB(170, 0, 0) killBtn.Text = "INSTANT KILL ALL ENEMIES" killBtn.TextColor3 = Color3.new(1,1,1) killBtn.TextScaled = true killBtn.Font = Enum.Font.GothamSemibold killBtn.Parent = frame Instance.new("UICorner", killBtn).CornerRadius = UDim.new(0, 8) -- Instant Kill killBtn.MouseButton1Click:Connect(function() local enemies = getAllEnemies() for _, enemy in ipairs(enemies) do local hum = enemy:FindFirstChild("Humanoid") if hum then hum.Health = 0 end end print("Instant Kill used on " .. #enemies .. " enemies") end) print("✅ Instant Kill Panel loaded!") print("Click the red button when enemies are on the field.")