Problem with Text when tweening a GUIs size?

So, showing a screenshot makes the problem quite self explanatory.

https://gyazo.com/a0cb1fe78c64a2aff795112331af28ad

I want to know the easiest possible way to avoid this problem when tweening a GUI, I want all of the text to follow with the size of the GUI without using TextScaled, as some of the text is smaller than others. I want all of the text to expand at the same time as the GUI, and also to be hidden when the GUI isn’t meant to be on the screen. The GUI expands from the centre and the anchor point is 0.5,0.5, I will show you the code below of how I have expanded the GUI.

CashierSubmit.Visible = true
CashierSubmit.AnchorPoint = Vector2.new(0.5,0.5)
CashierSubmit:TweenSize(UDim2.new(0.7,0,0.7,0), Enum.EasingDirection.In, Enum.EasingStyle.Sine, 0.2)

If everything is inside a frame, set that frame’s “ClipDescendants” to true, that should hide the text that clips out of the GUI

1 Like