I Tried To Set The Anchor Point Of The Text Label To The Center But That Didn't Work, They Just Slide Off The Screen.
1 | local object = script.Parent |
2 | object.AnchorPoint = Vector 2. new( 0.5 , 0.5 ) |
3 | object.Position = UDim 2. new( 0.5 , 0 , 0.5 , 0 ) |
4 | script.Parent.TextLabel.Position = UDim 2. new( 0.5 , 0.5 ) |
5 | wait( 2 ) |
6 | object:TweenSize(UDim 2. new( 0.4 , 0 , 0.4 , 0 )) |
7 | script.Parent.TextLabel.Position = UDim 2. new( 0.5 , 0.5 ) |