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

What does the parentheses in a function do?

function LavEnFirkantAdam() So when you make a function you have to make the parentheses and you can write things in them but what difference could it make and why would I do it?

1 answer

✓ Accepted answer

It is the place to put arguments and parameters.

local function foo(text)
	print(text)
end
foo("Hi")

Result: Hi

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