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.
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)