So I’m just trying to create a basic update log billboardUI but I’m also trying to add a break for every point. I know in html you just use <br/>
to make that happen but I was wondering how I can do it on Roblox.
If you’re setting the text from a script, \n
in a string to insert a newline. If you’re setting the Text
property using the properties window, copy and paste a newline from somewhere else (or enable rich text if you prefer using <br/>
).
1 Like
To make multi-line text you can use [[ ]]
Example:
script.Parent.Text = [[
Hello there,
I am a multi-line string!
]]
4 Likes
you can also use \n
with RichText on
script.Parent.Text = "Helo there,\nI am a multi-line string!"
1 Like
\n
doesn’t need RichText, it’s a universal symbol on many operating systems denoting a new line
<br />
is what requires RichText
2 Likes