TextXAlignment (Property)
From Legacy Roblox Wiki
You might be looking for one of these pages:
TextXAlignment (Enum)
TextXAlignment | |
Property | Enum TextXAlignment |
Description | Sets where the text is placed in a GUI on the X axis. |
Member of | TextBox, TextButton, TextLabel |
Example
The resulting label's text will be centered.Instance.new('TextLabel', script.Parent).TextXAlignment = Enum.TextXAlignment.Center