Making clean arguments

So, you know how robox makes nicely formatted arguments in their functions? Well, Im currently making a module for a game with my own custom code, and I want to make the arguments like this: function(yes : Instance, ahhah : string). When I try this, the script gives an error if i try to use it. Is there any way to do this?

1 Like

What is the error message your getting? The only thing wrong with the code you quoted is you didn’t give the function a name:

function MyFunctionName(yes : Instance, ahhah : string)

yes, I forgot to name the function.

function MyFunc(yes : Instance, "ahhah" : string)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.