UDim2’s are constructed of 4 values: Scale X, Offset X, Scale Y, Offset Y.
Scale X is the size relative to its parent.
Offset is the absolute size in pixels, regardless of parent size. 100x100 would look bigger on a 500x500 screen than a 1000x1000 screen.
The parameters are incorrect. You have UDim2, EasingDirection, EasingStyle, number, boolean, boolean
It should be UDim2, EasingDirection, EasingStyle, number, boolean, function (or nil)
-- example
GuiObject:TweenPosition(UDim2.new(0, 0, 0, 0), Enum.EasingDirection.In, Enum.EasingStyle.Linear, false, nil)