How to use rich text on tostring()?

i’m trying to use rich text in a script to make the text have a different color, it works fine but the tostring() part completely stops working, does anyone know how to make this work?

heres the part of the code
[[+ tostring(NumberConverter.changingnotation(currentXpMulti.Value)) XP]]

wait, it didnt copy fully for some reason, here

[[<font color="rgb(255,125,0)">+ tostring(NumberConverter.changingnotation(currentXpMulti.Value)) XP</font>]]```
`<font color="rgb(255,125,0)">{tostring(NumberConverter.changingnotation(currentXpMulti.Value))} XP</font>`
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.