How to script Text on ImageLabels that were made in photoshop

I tried finding an answer to this but I could not. Say a UI Designer made designs for my game and for example the text of a currency was on the given image. Just a random number, nothing special, but how could I either script that number to change to the right text, or how would I cover that up and make a TextLabel with the same font to keep the style. If there is a way to do this please tell me
Thank You
Edit: Also I’m not sure if this goes into the Scripting or Art Support Section

You would need to upload the image separate from the text, since text on a image can’t be edited. I would recommend uploading the image without the text, and then either slapping one of roblox’s default fonts on top, or using this resource to create a custom one.

1 Like

Do you know if this affects any of the performance because it has to keep updating as the player gets more of the currency. By the way a big thank you :smiley:

Using that custom font system will obviously take slightly more processing power than that default fonts, but it shouldn’t cause you any problems since all the fonts are stored in one font-sheet.

It will also keep accessing the same number 0-9 from the image image over and over to create larger numbers, so you won’t need a separate image for every number greater than 9.

1 Like

Again Huge thanks! I really needed help with this, and learned something new :slight_smile:

1 Like