How do I scale a model on one axis?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I want to scale a model on one axis using a script

  2. What is the issue? Include screenshots / videos if possible!
    I haven’t been able to find any ways of doing this

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I’ve looked through the devforum, but I seem to be the only one trying to do this specific thing lol

1 Like

for building mode BTOOLS PLUGGIN to make all parts in the model extend in one direction.

heres da link

thats me only sollution :v

wouldn’t this work? and why?

for _, part in ipairs(model:GetDescendants()) do
    if part:IsA("BasePart") then
        part.Size = part.Size * Vector3.new(1, scaleFactor, 1) --assuming y-axis is to be scaled
    end
end --beginner's question

Uhhh…‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

1 Like


if I use this script, this happens… I want the parts to keep touching each other