Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

What does [[]] Do, instead of []??

So I've figured out what

[i] -- Or whatever you want in the bracket

Does, but I don't have any idea of what

[[i]]  -- Or whatever you want in the bracket

Would do.... Does anyone have an idea??

1 comment

0

Simple [[blah]] is a string value that can have multiple lines in guis and prints and everything stringy

1 answer

✓ Accepted answer

There's an open bracket [ and a close bracket ], just like if you have one parenthesis, you need another to close it - (). Just depends on how many open parenthesis or brackets you have.

print(math.random(1,3)) local randy = math.random(1,3)

Also, double brackets are used for multiple lined strings.

This discussion is preserved as it was. New answers, comments, and votes are closed.