just to clarify: that error doesn't even mean the script you need to look for is defective, it usually means that you forgot to configure it correctly, or forgot to start a new game after adding it. You just need to identify that script to know the next steps in looking for the problem.
You might want to follow the link "how to use a script" in my signature, it also contains help for bughunting with scripts.