How to size a part(z) in 1 direction?

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 so that parts size property z changes, but in only 1 direction
  2. What is the issue? Include screenshots / videos if possible!
    Issue is, that it changes all z property so the size increases both ways
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I looked devforum youtube, but failed immensely
while true do
		wait(0.0)
		CarpetRolledOut.Size += Vector3.new(0,0,0.5)
		CarpetRolledOut.CFrame = CFrame.lookAt(Carpet.Position,CarpetRolledOut.Position)
	end
end)

If you resize a part on certain axis, it will grow on both sides of axis + and - Keeping its center at the original coordinate where it lays. So, everytime you resize it, move the part toward the positive or negative axis the same amount you resized the part. If you resized it 0.5 studs, then move the part position 0.5 onto the axis you are resizing

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.