problem with live counting

I have a problem whit the player pawn connected whit the spawn random cube and when i try to remove one life and print it to ui but the get player pawn is connected to event tick to do more cube how can i fix it