Help on making a gui text appear as a list

I’m making an Output gui in my game, where when you enter a command the output displays the result in a list, I’m struggling on making the text show up in a list format, as currently it looks like this:

That is from a “CMDS” command, and I want to make it so that the text displays in a list rather than like that.

I’m not sure how to do this. The script is just me setting the text to that, so I can edit it.

Thanks.

You can add a UIListLayout to the output GUI, which will display UI elements in a list layout. You can choose if you want it to be listed vertically or horizontally.

Use \n to denote a new line within a string.

For example:

print("Hello\nWorld")

Outputs:

Hello
World

Theres only 1 gui thats the output and its a text label, I want to make the text itself show up a list. Thanks.

Sorry this didn’t work, the “/n” shows up in the text.

You’re using the wrong slash. Use backslash \, not forwardslash /.

Thank you for the patience, it worked. :grin:

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