Trying to make win-lose states in a listen-server project

Hello! As the title says, I’m trying to simply make it to where I win and lose on a listen-server project. I’m not planning on building the game or anything, this is all just for understanding ue4.

By what I mean with win and lose, I’m trying to make it where if a player X’s character gets touched/collides with a goal actor then player X will win. That should then tell the server and everyone else that player X won.
For losing, since I having the camera moving, I want it to be where player X dies if they are outside the camera’s view.

I’ve tried looking for things online to help, but I haven’t had any luck. Any help is appreicated!