#resizing head doesn't work?

1 messages · Page 1 of 1 (latest)

minor galleon
#

im trying to resize a head with a script but it does not change the size
im resizing the specialMesh inside the head (R6) but it still does not change the headsize
the print does print in the output so i must be doing something wrong while resizing it
Code snippet:

            local humanMesh: SpecialMesh = humanHead:FindFirstChild("Mesh")
            local zombieMesh: SpecialMesh = v:WaitForChild("Mesh")
            
            if humanMesh and zombieMesh then
                print("have Hmesh and Zmesh")
                humanMesh.Scale = zombieMesh.Scale
            else
                warn("missing a mesh")
            end
upper impBOT
#

studio** You are now Level 1! **studio

undone girder
#

Hmm, try to print(humanMesh.Scale) to see if it's changing

minor galleon
#

it said it did scale but i dont see it

#

imma try somthing rq

#

i tried resizing the mesh directly to a vector3 but it still did not change size

#

resizing the head manualy does work

tropic charm
#

Do Humanoid.HeadSize.Value = whatever u want

#

I think

minor galleon
#

its an R6

minor galleon
#

the problem was you need to:

  1. wait for the char to finish initializing (it resets some part sizes if done before)
  2. the mesh and head have to be the same size for it to visually change
tropic charm
#

Wdym with initializing? (English isn’t my first language)
Is it that the character must load?