How would I tween only the Y axis of a Gui object using :TweenPosition?
Assuming you want the X position to remain unchanged, simply use a UDim2 with the same X position as the GuiObject’s X position for the end position of the tween.
You will simply set the X values to the same it already is.
Example:
local targetPosition = UDim2.new(script.Parent.Position.X.Scale, script.Parent.Position.X.Offset, 0.5, 0)
The last two values are the scale and offset of the Y axis