Both look fine so far.
A different question. Are those variables not inside of your hud?
You shouldn’t need an additional variable for that as only one hud can be active at a time this means any functionality in a second hud won’t be called and you also won’t have or get variables from a second one.
At least not with blueprint which also isn’t necessary since widgets.