roblox tween gui code example
Example: tweensizeandposition roblox
local frame = script.Parent
frame:TweenSizeAndPosition(
Size : UDim2.new(0, 0, 0 0),
Position : UDim2.new(0, 0, 0 0),
EasingDirection : "Out",
EasingStyle : "Linear",
Tween Duration : 1,
Override tween : true
callback Function : foo
)