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

How does several parameters work?

I've been figuring this out ever since I started scripting. I'm confused on how several parameters work on one function. like this for example:

local function randomFunction(part, color, size, pos, etc.)
...

I mean, how does that correctly select the right thing? Please give an explanation.

1 comment

1

It is in order... Too simple, if I turn this into an answer, it becomes spam.

1 answer

✓ Accepted answer

It is literally in an order,

function(param1, param2) print("Parameter 1 is: " + param1) print("Parameter 2 is: " + param1) end function("Cupcakes", "Muffins") Output would be Parameter 1 is: Cupcakes Parameter 1 is: Muffins

(Code may be incorrect)

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