What is the best? Long but few scripts or many but short scripts?

Hello! This is kind of a problem for me, as I tried both problems in the title and it is still hard for me to get what I want. I use the second option(Many but short scripts) but if I forgot to name a script I need to go minutes to find it. My scripts are pretty different.

Short ones can be pretty small and medium-size scripts can get up to 300 lines.

I have too many lines of code in my game, even with the best option(for me).

Just look at this:

https://gyazo.com/a7e265e97376aee1964cf7a45d4dd37f

And that is not even half of the game!

A script or commonly known as a thread, can take up server performance a lot of you have a lot of scripts running. It is recommended for you to create long scripts because it saves a thread and can save up server performance.

1 Like

I think it’s more efficient to have multiple scripts with 300 lines instead of four scripts with thousands of lines of code.

I would normally use a single server script and a single client script that runs off of multiple modules.

1 Like

If my modules you mean ModuleScripts, that means I’m already good to go, as I have 93 modulescripts