How to change model size without killing its humanoid?

Hi,
I need to scale a character made of base parts and Motor6Ds like humanoid with BodyWidthScale and BodyHeightScale.

I can’t do it like this:

for i, v in ipairs(script.Parent.Parent:GetChildren()) do
	if v:IsA("BasePart") then
		v.Size *= 2
	end
end
script.Parent.HipHeight *= 2

because only limbs size will change but they will be still in the same place so the character is getting fat, something similar to this:
RobloxScreenShot20220930_222010271 (2)

Edit: This is a custom rig

Hey, most of what you want can be found in the Humanoid Description class, which allows you to rescale humanoids:

https://create.roblox.com/docs/reference/engine/classes/HumanoidDescription

This link is useful for learning how to use it: Character Customization | Roblox Creator Documentation

In the Humanoid (idk if it’s R6) there’s some body data, try changing them!