Hey @jenkmeister17177426 , I'm still having similar issues in 25.1 and 25.2. This time the script will run, but every few tries the render pauses halfway through, and AE will become unresponsive and need to be force quit. I've also noticed that when rendering via script, if the comp panel is open, the video will render with choppy, stuttering, repeated frames. Are these known issues being addressed? Thanks!!
There should be a fix in 25.1 which is rolling out to all customers this week. You could try the AE Beta (available in Creative Cloud Desktop) which should also have the fix in it.
Have you had any success in replicating the issue? I've attached my AE proj with scripts here if it's useful. You'll want to change the file paths to wherever the project folder lives on your computer in both the .scpt and .jsx files.