We cannot help you debug an issue with your code if you do not provide us with the code you’re running. The example that you have provided will error on the first line due to invalid syntax.
If I am correct, I believe you’re setting the
Value property using the property editor widget and not from with Lua. If this is the case then the
Value property will actually be
When setting the
Text property of your
TextLabel, you will see
This all occurs due to character escaping. When you write
\n in the property widget, the
\ needs to be escaped so that it is displayed correctly by UI elements. Hence why you end up with
\\n for the actual string.