Help with resizing a model

Hello, i wonder how can i resize a models with a script, i searched the solution on the forum but i can’t find it, thx for any help

for _,v in pairs(path.to.model:GetDescendants) do
if v:IsA("BasePart") then
v.Size = Vector3.new(v.Size.X + 0.1,v.Size.Y + 0.1,v.Size.Z + 0.1)
end
end
1 Like

This solution won’t consider the position, so it’ll statically stay at the position meaning it won’t move adjusted with size. A solution has been posted here:

1 Like

That would take way too long. You already have Roblox’s resize tool.

1 Like

The OP said they wanted a solution to resize a model via script. :slight_smile:

1 Like

What does this have to do with position? You can always just add the Vector3.new , but with position?

1 Like

If you only resized the part, the part would get bigger, but because the parts remain at that very position unchanged, parts might overlap each other, ending up not looking like the original sized model. I can’t put that in a better way, I hope someone else can. :joy:

1 Like

I mean I guess , if you think about it that way, They should add a function for model sizing

1 Like

This is an example using your solution, hope this can explain it better.
337204a1a8eb4636e0950305ee528aa7

1 Like

I did understand what you meant , you didn’t have to record a video ? I didn’t think about it when replying

1 Like

Why couldn’t I record a video? I posted this when I never saw the reply either. :slight_smile:

1 Like

You can change the CFrame of the model with PivotTo()

1 Like

There’s a property scale inherited for models!

1 Like