Getting a Variable to update

So I was messing around with Behavior Trees and trying to make something that ran around until it got to the player then attacked seid player I couldn’t figure out how to figure it out… So I’m here, I’ve been working with unreal engine for only a couple weeks for any help would be appreciated, Below is the stuff I have