This is pretty easy to do when you get the hang of it.
All you need to do is define a frame, textbox, textlabel, etc. (basically any GUI object) and just put: TweenPosition() on the end of it with 4 properties.
Example:
local frame = script.Parent
frame:TweenPosition(UDim2.new(0.5, 0, 0.5, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Linear, 1)
0.5, 0, 0.5, 0 will basically tween it to the middle of the screen. Assuming, its a frame and you didn't resize it. But you can put any position in there.
For more information, you can go here
2 comments
Oh and the correct thing to do would be to do this: (0, frame.Position.X, 0, frame.Position.Y)
-2 foreach.