I want to tween a GUI I'm using in my game, but I'm not sure if the following works, nor how to use it:
game.Players.RandomPlayer.PlayerGui.RandomGui.Label:TweenPosition(1,1,1)
I've seen people do things like that (cant remember the exact thing), so if I'm doing this wrong, someone please correct me?
To Tween position or size, You must do this command
YourGUIObjectName:TweenPosition(UDim2.new(number, number, number, number), "EasingDirection", "EasingStyle", "Time")
UDim2.new() is where you want the GUI Object to slide to.
EasingDirection is either Going In ("In") or going out ("Out")
EasingStyle is the way it slides. Here is a link to a preview of all of them. http://wiki.roblox.com/index.php?title=API:Enum/EasingStyle
Time is the amount of time it takes.