In Construct you pick the Sprite you want with conditions so on the left you pick sprite where variable = health, then with actions you say set text to Sprite.value.
A more normal way though is to use a global variable for health then you can just say set text to health variable without using sprites.