Resize Model/Character Script?

For my game I’m looking to be able to simply resize an entire model. Respective of their joints and welds, everything besides their position in the world.

I’ve been scouring the forum and toolbox for examples of this. And everyone has been posting inapplicable code for my goal. And my own methods seem fruitless and I always run into problems.

I’ve tried BasePart:Resize() to no avail. Everytime I use it it only increases in size or it completely flattens a character model. There is no middle ground for decimal increments.

Something as simple as this is what I’m aiming for;

local scale = .5

for _,part in pairs(script.Parent:GetDescendants()) do
    if part:IsA("BasePart") then 
        part.Size = part.Size * scale

Though I know there’s a lot more to it. I just can’t figure it out myself.

Would deeply appreciate some help, thanks!

1 Like

Are you attempting this in R6 or R15?

It’s from R15 to R6, to R20, to any number. I have custom models/rigs you see.image
Some have more joints some have less, varying in their orientation and positions. You can imagine my complication in this. Ideally I’m looking for some kind of blanket resizer.

R15 Humanoids should have properties to change their size.Screen Shot 2021-11-11 at 12.01.05 AM

This is helpful for regular R15 games, unfortunately most of my characters do not possess the luxury of this feature.

When you join the game(on a normal character) in the humanoid there are objects(Like BodyHeightScale) copy them into your custom models humanoid.

Edit the value and it should change the size

1 Like

Well again this doesn’t work for me in my case. My game does not use humanoids, it uses AnimationControllers as Humanoids are horribly optimized.

You need to change the scales inside the “HumanoidDescription” instance of the “Humanoid” instance of the character model, you’ll also need to use the same scale to change the “HipHeight” property of the “Humanoid” instance so that the character moves smoothly against the surface of the floor.

My game does not use Humanoids as they are badly optimized. It uses AnimationControllers.