local Players = game:GetService("Players") local Workspace = game:GetService("Workspace") local player = Players.LocalPlayer local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "Tungtung_ui" ScreenGui.Parent = player:WaitForChild("PlayerGui") ScreenGui.ResetOnSpawn = false local Frame = Instance.new("Frame") Frame.Parent = ScreenGui Frame.Size = UDim2.new(0, 280, 0, 160) Frame.Position = UDim2.new(0, 50, 0, 50) Frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40) Frame.BorderSizePixel = 4 Frame.BorderColor3 = Color3.fromRGB(255, 0, 0) Frame.Active = true Frame.Draggable = true local Title = Instance.new("TextLabel") Title.Parent = Frame Title.Size = UDim2.new(1, 0, 0, 40) Title.BackgroundColor3 = Color3.fromRGB(60, 60, 60) Title.Text = "TROLLGAMER" Title.TextColor3 = Color3.fromRGB(255, 0, 0) Title.Font = Enum.Font.SourceSansBold Title.TextSize = 24 Title.TextXAlignment = Enum.TextXAlignment.Center local NPCFolder = Workspace:FindFirstChild("NPC") or Workspace local Ignore = { ["TarnishedWall"] = true, ["BlueBase"] = true, ["RedBase"] = true } local function KillAll() for _, v in ipairs(NPCFolder:GetDescendants()) do if not v:IsA("Model") then continue end if Ignore[v.Name] then continue end if Players:GetPlayerFromCharacter(v) then continue end local hum = v:FindFirstChildWhichIsA("Humanoid", true) if not hum or hum.Health <= 0 then continue end pcall(function() hum.MaxHealth = 0 hum.Health = 0 hum.BreakJointsOnDeath = true hum:SetStateEnabled(Enum.HumanoidStateType.Dead, true) end) end end local KillBtn = Instance.new("TextButton") KillBtn.Parent = Frame KillBtn.Size = UDim2.new(0, 220, 0, 50) KillBtn.Position = UDim2.new(0, 30, 0, 95) KillBtn.BackgroundColor3 = Color3.fromRGB(200, 0, 0) KillBtn.Text = "INSTANT KILL" KillBtn.TextColor3 = Color3.fromRGB(255, 255, 255) KillBtn.Font = Enum.Font.SourceSansBold KillBtn.TextSize = 20 KillBtn.BorderSizePixel = 2 KillBtn.BorderColor3 = Color3.fromRGB(255, 0, 0) KillBtn.AutoLocalize = false KillBtn.MouseButton1Click:Connect(KillAll)