That's probably because youre using a script for headshots with the spawn protection script. The spawn protection script will have no info about other scripts so you will have to manually add spawn protection to the headshot script.