Death screen on trigger enter?

Hi all, so I would like to add a death screen on a trigger enter.

Figured it would work with ‘isdead = true’ ?

I then want it to fade into blackness and show ‘You died’

I already have checkpoints that the player can jump back to and the checkpoint recognises when the player is dead!

Thanks all

You can just make an empty game object that has a black picture in it with a fade animation.When you die you enable the object and the animation.And you show the text you died