Universal Script πŸ“Œ
3.7k Views
1.5k Executions

Hitbox Expander Script

Universal Script πŸ“Œ
HilosHAX
HilosHAX10 followers
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

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

View Raw
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



Comments

2
Log in to join the conversation. Login
HilosHAX's profile picture
HilosHAXUploader2 years ago(edited)

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

1
lucashetland748's profile picture
lucashetland7482 years ago(edited)

Can you make Tribe Survival🏝️ script?

1

More universal scripts

See all
Script hub
6.9k
53.8k
Bumped 38 minutes ago
Universal Script πŸ“Œ
44
5
Approved 40 minutes ago
Script hub
13.1k
62.1k
Bumped 1 hour ago
Script hub
2.5k
7.4k
Bumped 2 hours ago
Key System
Universal Script πŸ“Œ
1.3k
4.9k
Bumped 2 hours ago