local ScreenGui, MainFrame = Instance.new("ScreenGui"), Instance.new("Frame") ScreenGui.Parent, ScreenGui.Name = game.CoreGui, "NPC_HeadBox_Inf6_Pro" MainFrame.Parent = ScreenGui MainFrame.BackgroundColor3, MainFrame.Position, MainFrame.Size, MainFrame.Active, MainFrame.Draggable = Color3.fromRGB(20, 20, 25), UDim2.new(0.35, 0, 0.25, 0), UDim2.new(0, 230, 0, 230), true, true Instance.new("UICorner", MainFrame).CornerRadius = UDim.new(0, 12) local s1 = Instance.new("UIStroke", MainFrame) s1.Color, s1.Thickness = Color3.fromRGB(255, 0, 50), 1.5 local Title = Instance.new("TextLabel", MainFrame) Title.Text, Title.Size, Title.BackgroundColor3, Title.TextColor3, Title.Font, Title.TextSize = "NPC HEAD BOX INF 6", UDim2.new(1, 0, 0, 35), Color3.fromRGB(255, 0, 50), Color3.new(1, 1, 1), Enum.Font.GothamBold, 14 Instance.new("UICorner", Title).CornerRadius = UDim.new(0, 12) local HitboxBtn, EspBtn, HideBtn, DecreaseBtn, IncreaseBtn, SizeLabel = Instance.new("TextButton"), Instance.new("TextButton"), Instance.new("TextButton"), Instance.new("TextButton"), Instance.new("TextButton"), Instance.new("TextLabel", MainFrame) _G.HeadSize = 12 local hitboxEnabled = false local espEnabled = false local function styleBtn(btn, text, pos, size, bg) btn.Parent, btn.Text, btn.Position, btn.Size, btn.BackgroundColor3, btn.TextColor3, btn.Font, btn.TextSize = MainFrame, text, pos, size or UDim2.new(0.8, 0, 0, 32), bg or Color3.fromRGB(40, 40, 45), Color3.new(1, 1, 1), Enum.Font.GothamSemibold, 11 Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 6) end styleBtn(HitboxBtn, "HITBOX: DEACTIVATED", UDim2.new(0.1, 0, 0.22, 0)) styleBtn(EspBtn, "NPC ESP: OFF", UDim2.new(0.1, 0, 0.38, 0)) styleBtn(DecreaseBtn, "-", UDim2.new(0.15, 0, 0.7, 0), UDim2.new(0, 40, 0, 35), Color3.fromRGB(255, 0, 50)) styleBtn(IncreaseBtn, "+", UDim2.new(0.65, 0, 0.7, 0), UDim2.new(0, 40, 0, 35), Color3.fromRGB(0, 180, 100)) SizeLabel.Text, SizeLabel.Position, SizeLabel.Size, SizeLabel.TextColor3, SizeLabel.Font, SizeLabel.BackgroundTransparency = "SIZE: " .. _G.HeadSize, UDim2.new(0, 0, 0.55, 0), UDim2.new(1, 0, 0, 20), Color3.new(1, 1, 1), Enum.Font.GothamBold, 1 HideBtn.Parent, HideBtn.Text, HideBtn.Size, HideBtn.Position, HideBtn.BackgroundColor3, HideBtn.TextColor3, HideBtn.Draggable = ScreenGui, "6", UDim2.new(0, 45, 0, 45), UDim2.new(0.05, 0, 0.5, 0), Color3.fromRGB(255, 0, 50), Color3.new(1, 1, 1), true Instance.new("UICorner", HideBtn).CornerRadius = UDim.new(1, 0) local s2 = Instance.new("UIStroke", HideBtn) s2.Thickness = 2 HideBtn.MouseButton1Click:Connect(function() MainFrame.Visible = not MainFrame.Visible end) HitboxBtn.MouseButton1Click:Connect(function() hitboxEnabled = not hitboxEnabled HitboxBtn.Text, HitboxBtn.BackgroundColor3 = hitboxEnabled and "HITBOX: ACTIVE" or "HITBOX: DEACTIVATED", hitboxEnabled and Color3.fromRGB(0, 180, 100) or Color3.fromRGB(40, 40, 45) end) EspBtn.MouseButton1Click:Connect(function() espEnabled = not espEnabled EspBtn.Text, EspBtn.BackgroundColor3 = espEnabled and "NPC ESP: ON" or "NPC ESP: OFF", espEnabled and Color3.fromRGB(0, 180, 100) or Color3.fromRGB(40, 40, 45) end) local function updateSize(mod) _G.HeadSize = math.max(1, _G.HeadSize + mod) SizeLabel.Text = "SIZE: " .. _G.HeadSize end IncreaseBtn.MouseButton1Click:Connect(function() updateSize(1) end) DecreaseBtn.MouseButton1Click:Connect(function() updateSize(-1) end) task.spawn(function() while task.wait(0.8) do for _, v in pairs(game.Workspace:GetDescendants()) do if v:IsA("Model") and not game.Players:GetPlayerFromCharacter(v) then local hum, head, root = v:FindFirstChildOfClass("Humanoid"), v:FindFirstChild("Head"), v:FindFirstChild("HumanoidRootPart") if hum and head and root and not root.Anchored then if hitboxEnabled and hum.Health > 0 and head.Size ~= Vector3.new(_G.HeadSize, _G.HeadSize, _G.HeadSize) then head.Size, head.Transparency, head.CanCollide, head.Massless = Vector3.new(_G.HeadSize, _G.HeadSize, _G.HeadSize), 0.6, false, true end local hl = v:FindFirstChild("ESP_Highlight") if espEnabled then if not hl then hl = Instance.new("Highlight", v) hl.Name, hl.OutlineColor = "ESP_Highlight", Color3.new(1, 1, 1) end hl.FillColor = hum.Health <= 0 and Color3.fromRGB(255, 0, 0) or Color3.fromRGB(0, 255, 0) elseif hl then hl:Destroy() end else local hl = v:FindFirstChild("ESP_Highlight") if hl then hl:Destroy() end end end end end end)