How to use return in modulescripts? (if possible)

while practicing I tried creating a function that returns a certain value, but an error in the output sait it didnt return exactly 1 value, can return not be used in them?

1 Like

Did you have a return at the very bottom of the ModuleScript? Do whatever you want in the function, but the ModuleScript itself needs to return something at the very bottom.

2 Likes