Text stretches over entire part

I’m trying to make a little graph thingamajig but the text keeps stretching over the entire part, how do I make it not do that? I just want the text to sit in in the middle

It doesn’t seem to stretch when I add text to a part manually, but when I add text through a script this happens?

2 Likes

Use offset for the size of the SurfaceGui / Frame.

1 Like

doesn’t work (character limit ararghghhhh)

in the surfacegui, change the SizingMode property (in Sizing scroll down) to PixelByStud.

It should work!

1 Like

just realized i bumped a 1 year old topic
i should’ve read it properly