Universal Script 📌
22.4k Views
1.8k Executions

universal head hitbox works on solara

Universal Script 📌
3 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

Universal, OP Updated, Fixed bugs, Automatic username grabber

Updates

  1. Script edited: Update script

  2. Script edited: Update script

View Raw
--[[
    WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
]]
-- leave a like pls

_G.HeadSize = Vector3.new(12, 12, 12) -- Adjust this value as needed
_G.HumanoidRootPartSize = Vector3.new(5, 5, 5) -- Adjust this value as needed
_G.Disabled = false

local localPlayer = game:GetService('Players').LocalPlayer

local function scaleHitbox(character)
    if character then
        local head = character:FindFirstChild("Head")
        local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")

        if head then
            local mesh = head:FindFirstChildOfClass("SpecialMesh")
            if mesh then
                mesh.Scale = Vector3.new(_G.HeadSize.X / head.Size.X, _G.HeadSize.Y / head.Size.Y, _G.HeadSize.Z / head.Size.Z)
            else
                -- If the head doesn't have a SpecialMesh, create one
                local newMesh = Instance.new("SpecialMesh", head)
                newMesh.Scale = Vector3.new(_G.HeadSize.X / head.Size.X, _G.HeadSize.Y / head.Size.Y, _G.HeadSize.Z / head.Size.Z)
            end
            head.Size = _G.HeadSize
            head.CanCollide = false -- Disable collision for the head
        end

        if humanoidRootPart then
            humanoidRootPart.Size = _G.HumanoidRootPartSize
            humanoidRootPart.Transparency = 0.7
            humanoidRootPart.BrickColor = BrickColor.new("Really blue")
            humanoidRootPart.Material = "Neon"
            humanoidRootPart.CanCollide = false
        end
    end
end

local function resizeParts(character)


Comments

9
Log in to join the conversation. Login
guma's profile picture
gumaUploader2 years ago(edited)

Bro theyre disliking it literally works

1
flipcity8's profile picture
flipcity82 years ago(edited)

@nebcaniccom chance the number values in the actual script

1
nebcaniccom's profile picture
nebcaniccom3 years ago(edited)

how can i change the size of head and hitbox its too big

1
Gray's profile picture
Gray3 years ago(edited)

That's better

1
guma's profile picture
gumaUploader3 years ago(edited)

@Gray script updated

1
guma's profile picture
gumaUploader3 years ago(edited)

bet

1
natanaeldaviburityd's profile picture
natanaeldaviburityd1 year ago

@guma Please give me a version where the transparency is invisible

1
Gray's profile picture
Gray3 years ago(edited)

U created A Long Code About Expanding Head Size And use lot of localPlayer but u can't make it grab ur Name automatically 😭

1

More universal scripts

See all