I've been taking a break from working on my custom story for about a week and now when I'm working again I get a crash when I try to start it. I'm gonna paste the entire contents of the script file, I'm guessing the problem is just some tiny stupid thing that someone will find easily, but I've been searching through it multiple times and can't find it. It's probably just a missed ")" or ";" something. Please don't read what the scripts do all that carefully as it might spoil some if you're planning on playing my custom story when it's released.
Edit: Script removed from here.
Any help is appreciated.
Edit: Here's the error, which is probably the most f*cked error I've ever seen.