Script Editor Crash

Not a scripting question I am afraid but hopefully someone can point me in the right direction.

I copied and pasted a script into an untitled document. Ran it and it crashed Script editor. When now I try and start script editor it keeps crashing and I have to force quit. The corrupted script is opening and is now full of garbled looking screen shots.

Can I delete the this file or the referenc eo it. I have taken everything out of preferences and rebooted

any ideas?

Running Yosemite

Open ~/Library/Mobile Documents/, and look for Untitled documents in the Script Editor folder.

hi, just a questioon… did you ever now whay your script was crashing?