Item usage damage question

Status
Resolved
Issue description
I basically created an item (not a tool) that adds 1 health point (half a heart) to the player's health when right-clicked in the air, and which also gives +1 life to an entity when also right-clicked on it.
The problem is that I want this item to take usage damage when I do it (specifically 10 times until waste it out).
How do i procedure it?

 

PS: I am totally a noob in Mc Creator, i literally started using it yesterday.

PS2: I am a brazilian, what explain my horrible english, so sorry for any notable gramatical mistake

Issue comments