Hitbox Expander Script
Key RequiredUniversal

Hitbox Expander Script

Universal ScriptHilosHAXHilosHAX 3.6K views 916 executesUpdated Mar 11, 2025
2.5/ 5(2 votes)
1150% Positive
Lua Script•52 lines (1984 chars)
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")

local button = Instance.new("TextButton")
button.Parent = screenGui
button.Size = UDim2.new(0, 150, 0, 50)
button.Position = UDim2.new(0.5, -75, 0.8, 0)
button.Text = "Enable Hitbox"
button.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
button.TextColor3 = Color3.fromRGB(255, 255, 255)
button.Font = Enum.Font.GothamBold
button.TextSize = 16
button.BorderSizePixel = 0
button.AutoButtonColor = true

_G.HeadSize = 12 --change this if you want
_G.Disabled = true

local function updateHitboxes()
    for _, v in next, game:GetService("Players"):GetPlayers() do
        if v.Name ~= game:GetService("Players").LocalPlayer.Name and v.Character and v.Character:FindFirstChild("HumanoidRootPart") then
            local hrp = v.Character.HumanoidRootPart
            pcall(function()
                if _G.Disabled then
                    hrp.Size = Vector3.new(2, 2, 1) -- Reset to normal size when disabled
                    hrp.Transparency = 0
                    hrp.BrickColor = BrickColor.new("Medium stone grey")
                    hrp.Material = Enum.Material.Plastic
                else
                    hrp.Size = Vector3.new(_G.HeadSize, _G.HeadSize, _G.HeadSize)
                    hrp.Transparency = 0.7
                    hrp.BrickColor = BrickColor.new("Really Blue")
                    hrp.Material = Enum.Material.Neon
                    hrp.CanCollide = false
                end
            end)
        end
    end
end

game:GetService("RunService").RenderStepped:Connect(updateHitboxes)

button.MouseButton1Click:Connect(function()
    _G.Disabled = not _G.Disabled
    if _G.Disabled then
        button.Text = "Enable Hitbox"
        button.BackgroundColor3 = Color3.fromRGB(255, 0, 0) -- Red when off
    else
        button.Text = "Disable Hitbox"
        button.BackgroundColor3 = Color3.fromRGB(0, 255, 0) -- Green when on
    end
end)

Features & Information

there is basically a gui to enable or disable the hitbox expander (had no photo so had to use another one)

Community Comments (2)

lucashetland748lucashetland748Mar 11, 2025(edited)

Can you make Tribe Survival🏝️ script?

HilosHAXHilosHAXMar 11, 2025(edited)

never heard of the game. i'll need to play it first before making a script for it

More Scripts for Universal Scripts