game.Players.Mr_Unlucky:LoadCharacter() --What's the point of the () in :LoadCharacter()?
What's the point of the () in :LoadCharacter()?
2 answers
Every function has these, it is so when you call it, you can pass arguments.
4 comments
They're arguments, not parameters, but you've got the right idea. Parameters are a function's input variables. Arguments are values passed to a function during a function call, and which get assigned to parameters.
So, basically when defining the function, you have parameters... hmmm
Yes, parameters appear in the parentheses of a function definition, not a function call. e.g, function add(a, b) return a+b end. a and b in this example are parameters, whereas 2 and 3 in local sum = add(2, 3) are arguments.
Thanks for explaining.
That's pretty much just how it works...
Hope this helped you.
1 comment
Think of it like this: local new_obj = Instance.new("Part",workspace) -- You see you may need to put arguments in it.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
That calls the method.