I prepared an example of how you can achieve that.
Here is the video how it works:
I used PIXI to generate numbers here
I used the custom
poppingNumber property to set it on player here
and Next I read this property on update inside
RpgSpriteHooks like this