When pressing “Enter” after a properly formatted end, the script editor will place the end in an arbitrary position. Here is an example from a script that is complete (no missing blocks) and has Enter pressed after the individual ends.
6 Likes