How to grow custom humanoid model with parts/welds while keeping it original look

  1. What do you want to achieve? I want the custom humanoid model to scale up by +0.1 instead of x2 or x in general.

  2. What is the issue? I’ve tried to increase size of all parts/meshes with welds inside model while keeping its normal look, meaning eyes. When I scale up, the eyes hide inside body due to weld with +0.1.

  3. What solutions have you tried so far? I’ve tried different ways/methods from DevForum, YouTube and other sites.

Basically, I want to change the “*2” to +1 where it says number “2” in the script below. But when I tried different, the shape changed for body and didn’t work.
The custom humanoid model contains 2 parts and 2 meshes, including HumanoidRootPart.
I have a “Blob” model and my goal is when the “Blob”/Player eats food and then increases its size by +1 as example. Plus when it grows, all parts should grow with it and the eyes but somehow fix the weld to stay in the same spot on the head/body.

for _, Part in pairs(Player.Character:GetChildren()) do
	if Part:IsA("BasePart") then
		Part.Size = Part.Size*2

		for _, child in pairs(Part:GetChildren()) do
			if child:IsA("JointInstance") then
				child.C0 = child.C0 + child.C0.Position*(2-1)
				child.C1 = child.C1 + child.C1.Position*(2-1)
			end
		end
	end
end
1 Like