I am going to be writing one of my first long scripts I have made for a project (multiple AI’s will be controlled through there). It will include many variables that are randomized (math.random) and many positions for NPC’s to go to.
Is there any advice for keeping a long script organized so things are easier to locate and identify?