I tried to make a text label the exact right size (using code) to fit the text perfectly, but it didn't work :(
Heres what I tired to use but I couldn't understand it so I made my own not working one Not a IP logger
Here are some of the text settings: Font Size - 18 Font - GothamBold X Snapping - left
Useful info, it needs to return a Udim2 if offset form NOT SCALE!!!!!
If you really don't want to use Scale, then you can do some brain breaking math to center it regardless of resolution. You need to take advantage of the AnchorPoint property. Normally setting AnchorPoint to (0.5,0.5) and Position to (0.5,0.5) would do it, but depending on what you are trying to do you have to try with different values.
All you have to do is shrink the text box until the TextFits property is false, then set it to one increment larger so it's as small as it can be with the text still fitting in the text box.