I am making a horror game and I have the enemy ai free roaming around my map and chasing me when I am in the line of sight but I want to know how to make a jumpscare death (so when the ai catches you it will jumpscare you and the game will restart signifying game over) for example the free roam fnaf games when the animatronic catches you it plays a death animation (jumpscare) then you die and restart. There is nothing online that can help and I would really appreciate your feedback! Thanks!