local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer

local toggleEnabled = false
local selectedShape = Enum.PartType.Block
local selectedMaterial = Enum.Material.Neon
local hitboxSize = 25

local function ApplyEffect()
    for _, player in pairs(Players:GetPlayers()) do
        if player ~= LocalPlayer and player.Character then
            local humanoid = player.Character:FindFirstChildOfClass("Humanoid")
            if humanoid and humanoid.Health > 0 then
                local rootPart = player.Character:FindFirstChild("HumanoidRootPart")
                if rootPart and rootPart:IsA("Part") then
                    rootPart.Size = Vector3.new(hitboxSize, hitboxSize, hitboxSize)
                    rootPart.Transparency = 0.5
                    rootPart.Color = Color3.fromRGB(100, 100, 255)
                    rootPart.CanCollide = false
                    rootPart.Shape = selectedShape
                    rootPart.Material = selectedMaterial
                end
            end
        end
    end
end

local function ResetEffect()
    for _, player in pairs(Players:GetPlayers()) do
        if player ~= LocalPlayer and player.Character then
            local rootPart = player.Character:FindFirstChild("HumanoidRootPart")
            if rootPart and rootPart:IsA("Part") then
                rootPart.Size = Vector3.new(2, 2, 1)
                rootPart.Transparency = 0
                rootPart.Color = Color3.new(1, 1, 1)
                rootPart.CanCollide = true
                rootPart.Shape = Enum.PartType.Block
                rootPart.Material = Enum.Material.Plastic
            end
        end
    end
end

AimbotTab:CreateToggle({
    Name = "Hitbox Expander",
    CurrentValue = false,
    Flag = "ToggleGiant",
    Callback = function(Value)
        toggleEnabled = Value
        if Value then
            ApplyEffect()
        else
            ResetEffect()
        end
    end,
})

AimbotTab:CreateDropdown({
    Name = "Hitbox Type",
    Options = { "Block", "Ball", "Cylinder" },
    CurrentOption = "Block",
    Flag = "HitboxShape",
    Callback = function(Option)
        if Option == "Block" then
            selectedShape = Enum.PartType.Block
        elseif Option == "Ball" then
            selectedShape = Enum.PartType.Ball
        elseif Option == "Cylinder" then
            selectedShape = Enum.PartType.Cylinder
        end
        if toggleEnabled then ApplyEffect() end
    end,
})

AimbotTab:CreateDropdown({
    Name = "Hitbox Material",
    Options = { "Neon", "ForceField", "Plastic", "SmoothPlastic", "Wood", "Glass", "Granite" },
    CurrentOption = "Neon",
    Flag = "HitboxMaterial",
    Callback = function(Option)
        local success, material = pcall(function()
            return Enum.Material[Option]
        end)

        if success and material then
            selectedMaterial = material
            if toggleEnabled then
                ApplyEffect()
            end
        else
            warn("Invalid material selected: " .. tostring(Option))
        end
    end,
})


AimbotTab:CreateSlider({
    Name = "Hitbox Multiplier",
    Range = {5, 100},
    Increment = 1,
    Suffix = "Size",
    CurrentValue = 25,
    Flag = "HitboxSize",
    Callback = function(Value)
        hitboxSize = Value
        if toggleEnabled then ApplyEffect() end
    end,
})

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: