You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
I need a function that creates textlabel with a size that fits the text
So like let’s say I do “createTextLabel(“string”, 12, Enum.Font.SourceSans)” it would return a TextLabel that is resized based on the TextBounds, TextSize, and Font.
What is the issue? Include screenshots / videos if possible!
I can’t do the automatic resizing
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
(I unfortunately already removed my code on setting the TextLabel size dynamically, and it doesn’t work)