FontSize (Property)
From Legacy Roblox Wiki
![]() | |
Property | Enum fontSize |
Description | Changes the font size of a GUI object. |
Member of | TextBox, TextButton, TextLabel |
![]() | ||
Enum | Name | Description |
0 | Size8 | The text is set to size 8. |
1 | Size9 | The text is set to size 9. |
2 | Size10 | The text is set to size 10. |
3 | Size11 | The text is set to size 11. |
4 | Size12 | The text is set to size 12. |
5 | Size14 | The text is set to size 14. |
6 | Size18 | The text is set to size 18. |
7 | Size24 | The text is set to size 24. |
8 | Size36 | The text is set to size 36. |
9 | Size48 | The text is set to size 48. |
Example
The resulting label's text will have a font size of 24.Instance.new('TextLabel', script.Parent).FontSize = Enum.FontSize.Size24