Help Me! :D

Good morning, I am making my first very basic horror game, but I created an AI and I would like it to perform a jumpscare and end the game when it touches me. Could someone clear my doubt or guide me on how I should do it? since on YouTube there are only certain simple jumpscares but not what I’m looking for! Help me! :C

This totally depends on how you would like to design it. You could use the sequencer which gives you more control. Some prefer rendered shots (similar to fnaf or Arkham Knight) and some play the jumpscare more complex in the game level just like Resident Evil.

Your choice needs to be consistent with your game design. To start, I think you should try to take a look at the sequencer which you can just play whenever the game ends. Hope it helps.