v1.0.1

fix for a nil error regarding components and for NPC's triggering the script (should be only player characters).