Tips for Keeping a Long Script Organized?

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?

2 Likes

If you want them in organized form is putting in separate areas by using this above.
– name –

2 Likes

Space them apart evenly, use comments to label sections of code, and delete unnecessary lines of code.

1 Like