script.Parent.Frame.Position = UDim2.new(0.5, 0, 0.5, 0) script.Parent.Frame.Size = UDim2.new(0,0,0,0) script.Parent.Frame:TweenSizeAndPosition(UDim2.new(0, 400, 0, 600), UDim2.new(.5, -200, .5, 600), "Out", "Quad", 1)
What's the meaning of Quad, and 1?
"Quad",1
"Quad" means the style, or the way the tweening happens. To see a list of styles, check this page out
http://wiki.roblox.com/index.php?title=EasingStyle
The 1 is how long it takes to complete the tweening. 1 = 1 second .5 = .5 seconds 9001 = 9001 seconds 10248742 = do this and no one will play this game cause it'll be boring