What does the semicolon do?

I know what the dot . does and what the colon : does, but what do you use the semicolon ; for?

I could not find anything on the developer roblox page covering it.

The SemiColon is not something that is really needed in Lua. In Java, for example, you have to use the SemiColon after EVERY variable declaration, but in Lua these two are the same (I thought I saw it a few weeks ago):

local String:string = "String"
--Is the Same as
local String:string = "String"; --Semicolon ^^

I’m pretty sure this question has been asked before, but well, happens sometimes. You really, REALLY don’t need it, okay? Trust me.

EDIT:
I found the topic:

Read it

1 Like

Ok so theres no point in using it? Gotcha

No point, jep. You should read this topic here:

This is only for the syntax.

EDIT:
No wait, i searched and its for Multistatementssomething:

Try to read ^^

Hope this helps.

EDIT2:
Found a second link, read it!

1 Like

Not needed and all it does is define a new line in rlua.

1 Like