If the jumpscare is a recorded video, you could play that in a widget that you add to the player's viewport, or if it's actually in game have a small area away from the play area with a camera, then switch camera, play the animation, then show the game over screen.