I don't think it's necessarily the specific scripts anyway, something within the game's code seems to be reacting violently to custom scripts in general.
Error in script '' means that the error happens in an unnamed script slot.
Please check and name all scripts you have added, because then you'll get a real message like
Error in script 'scriptname' on line #.
Additionally I suggest you follow the link "how to use a script" in my signature, because the default engine has no problems with scripts as long as the scripts themselves are correctly installed and configured and bugfree.
So if you have a problem with scripts, it means that you're the one making mistakes with them.
As already mentioned, please check ALL of your script slots and ensure they all have names.
None of those scripts have code that would cause that error on that line. So it's either another script you've added that you've not included in your links above, or you've made modifications to those scripts.
When the error happens, please take a screenshot and post that here. Then close the game, and in the editor, press F11. This should take you to the exact line of the exact script that's causing the problem. Please take a screenshot of that, without selecting any other slots, and without moving the cursor, and post that here as well.
Please close this thread.