Dead If hit wall or touch

Dead If hit wall or touch

anyone can give me a clue, how to make BP, if player hit “object” (tree,wall) will dead,
please help me thanks

HI!

I want to recommend this tutorial. This is a lesson on how to create an endless runner. And also how to use the event of collision with obstacles and the wall.