For R15 characters, you should only have to change the Scale values under the Humanoid: HeadScale, BodyDepthScale, BodyWidthScale, BodyHeightScale
From that then Accessories should scale correctly.
I’ve had a similar issue when rescaling some but not all R6 based characters which I think is caused by Mesh.Scale working differently for the Head and Hair. I haven’t bothered fixing it as only affects clones.
for i,Acessory in pairs(Character:GetChildren()) do
if Acessory:IsA("Accessory") then
Acessory:Remove()
end
end
local NewHair = Hairs["Hair"..HairNumber.Value]:Clone()
NewHair.Parent = Character
We are in very different time zones, so the discussion is really slow.
So we know that the hair is present in the character model.
Did you resize the hair before you Parented it to the character. If done after .Parent, then yes it will probably break the weld.
So theoretically this should work:
local NewHair = Hairs["Hair"..HairNumber.Value]:Clone()
NewHair.Size = Vector3.new(NewHair.Size.X * Scale, NewHair.Size.Y * Scale, NewHair.Size.Z * Scale)
NewHair.Parent = Character
But, not all hair is equal. After playing about with this I have found that some Hair is a MeshPart as the Handle whci can be scaled suing the above. Others can be a plain part as the Handle, then a SpecialMesh as a child. This second type is more difficult to scale as you will also need to offset the CFrame probably to cater for the scale change
Yes, we are in very different time zones, because I’m from Brazil, now it’s 10:00 AM. Well I have two different scripts, one for customization and one for transformation, Do you indicate to remove the accessory and put this in the transformation script?
(as it is also used to customize other accessories besides hair I put a “StringValue” called “Type” which has its types: hair, BackAcessory, Front Accessory etc.)
Example:
for i,v in pairs(Character:GetChildren()) do
if v:FindFirstChild("Type") ~= nil and v:FindFirstChild("Type").Value == "Hair" then
v:Remove()
end
end
local NewHair = Hairs["Hair"..HairNumber.Value]:Clone()
NewHair.Size = Vector3.new(NewHair.Size.X * Scale, NewHair.Size.Y * Scale, NewHair.Size.Z * Scale)
NewHair.Parent = Character