I have two sliders, one that changes TextWidth and another that changes TextHeight. The sliders are doing the job but I want a sprite to change so it is the same width and height of the text (not text box). I am using an awesome addon from Rex Rainbow called BBcode Text. The Sprite height is changing with the TextHeight but there is an error that appears for the TextWidth.
I have attached the code that I am using and the error that appears when using the TextWidth.
Does anyone have a work around or suggestion to help fix this?