Currently as my games scripts grow there’s sometimes functions I want to reuse and bring over into other game frameworks. It also becomes harder to handle functions across the entire game sometimes or even keep track of variables once your games script grows from 200 to 2000 to 20,000 lines of code leaving you scroll up and down.
The best thing I can think of is letting us write in our own Intellisense for our functions, let us document our own from within the code.
For reusing code between games, you should be making libraries using modulescripts. This is how software engineering works across the industry basically.