Hey, so I’m intending on cleaning up all my game’s code soon, there’s a lot going on in my game, and a lot of tools, scripts, NPCs, mechanics, etc. And it’s getting large enough to where it’s pretty tedious having to change things and having to copy and paste the same code for things. Every tool has multiple scripts, remote events, similar code.
There’s a lot of options, inheritence, composition, modules, collection service, and multiple ways to do these as well. Anyone have any recommendations on the general structure that have good server performance and keep things dynamic?