So I am trying to get my AI to attack the player, once the character is dead, then patrol again and quit attacking. It seems like no matter what I do the AI keeps attacking, I’ve tried, isDead then start partrol again, isDead, isAttacking is set to false stuff like that but nothing works.