Score on HUD help

Okay so I got the Widget to show on the screen, but how would I make it go up when the line trace hits an actor? It would have to be in MyCharacter blueprint?