Plugin Script [NEED HELP]

Guys so, i try to make plugin that gonna export/produce script, and the value is set by textbox in the plugin but i think this is not the problem, my problem honestly is pretty simple, for the script export i should use ScriptName.Source = [[textbox.Text
textbox1.Text]]
If i want to make it multi line right? Or is it better using \n ?

That is going to set the script’s source to literally “textbox.Text textbox1.Text”. Are you trying to concatenate two textbox’s texts?

If so,

script.Source = textbox.Text..'\n'..textbox2.Text

Well i want to produce scripts multiple line with plugin, and the source of the script they get by writing two text boxes (well as a starter to try if it works), so it’s kinda neat i can say?

I remember there’s like multi bracket thing, so it’s for what?

If i make textbox multiline, is it directly producing multiline on the script source?

The two brackets is another way of putting a string but you don’t often use strings like that when you are working with a string that can vary, like in a textbox.

Yes.

Ahh so is better for using \n?

For my case………… chars…… huhhhhh

Well if you’re concatenating two textboxes’ text properties, I would use \n, yeah, but technically it’s the same as doing

local s = textbox1.Text .. [[
]] .. textbox2.Text

it’s just that \n is usually more readable.