How can I only move up the Y value of the CFrame Property?

Would I use Part.CFrame.YVector or Part.CFrame.Y?

CFrame.YVector and CFrame.Y are read only properties so you wouldn’t use them to increase the Y value of a CFrame. CFrame.XVector, CFrame.ZVector, CFrame.X, and CFrame.Z are also read only properties.

You can increase the X, Y, and Z values of a CFrame by adding a Vector3 to the CFrame. You would write the Vector3 like this:

Vector3.new(x, y, z)

replacing x, y, and z with whatever numbers you want to increase the X, Y, and Z values in the CFrame by, and use 0 for the values that you don’t want to change.

For example, if I wanted to increase the Y value of a Part’s CFrame by 2 but not change the X and Z values, I would do:

part.CFrame += Vector3.new(0, 2, 0)

This would add 2 to the Y value of that Part’s CFrame but it keep the X and Z values unchanged.

CFrame * CFrame.new(0, 2, 0) --Raise CFrame's position by two studs.
CFrame + Vector3.new(0, 2, 0) --Raise CFrame's position by two studs.