I’ve seen some scripters add Semi Colons at the end of a line, and it wasn’t in a table or anything, just a line like the following example (real example):
function AllowForceTie(ToolHumanoid)
if ForceTie.Value == false then
return(ToolHumanoid.Health > 0);
else return true;
end;
end;
The example code you provided wouldn’t differ in functionality if it were to be omitted. If I recall correctly, it doesn’t do anything in Luau under this context – it might just be a habit from other coding languages.
The semicolon is used to separate different statements in Lua. You’ll see it quite often in other languages but since it’s optional in Lua you’ll only find it in cases of ambiguity.