How do I make a life bar using the numbers?

I’m creating a style game and I don’t know how the creator of the game for Escape from the cursed city - zombie shooter game did to have the life counter in number

A text Object like obj_player_hp to show the current life in numbers

2 variables
gs_var_current_hp = the current healing points of your player
gs_var_total_hp = the total healing points of your player


Change the text of obj_player_hp = VariableString(gs_var_current_hp) + “/” + VariableSting(gs_var_total_hp)

The gdevelop project got corrupted damn beta is there a solution to that.?

Refer to here maybe it helps