How to create an HUD in a multiplayer game?

I tried something and remember why it doesn’t work. So, I cast the “create hud” and “remove hud” function (see the picture above) on my pc at the creation/death of my player pawn. But when I’m not the host, it doesn’t want to cast the HUD… If someone can help, everything else is fine without this MAJOR issue