Module Scripts and what are they?

I am have been curious on Module scripts, but I am not sure what to do with them?
What are they, do they make your game more secure from exploiters?

I think the best way to ask this,
what are some things I can do with a Module script, examples?

1 Like

look at this:

Hey! I don’t know if the tone of the post was obvious, but I also want the communities feedback about Module scripts!

1 Like

module scripts are mostly used for storing functions so multiple scripts can access them, for example you need to calculate a position that would take alot of lines in multiple scripts, so not to just copy and paste the code you can create a module with a function that calculates the position then returns it to the script.

you can also use OOP with modulescripts, heres a indepth tutorial on oop:

1 Like