Score goes up when NPC dies

the script i gave earlier was meant to go in the enemies event graph. so how you have it now if the enemy isnt a thirdpersoncharacter then it wouldnt ever work.