you disable one of your scripts after another, until it works again - starting a new game (not loading a saved file) after each disabled script.
After you identified the script responsible, you can check that scriptss options - something like this rarely is a coding error, but most likely you ignored the configuration of an intended function.
You can also follow the link "how to use a script" in my signature to learn more about bughunting in scripts and configuring them