I did this by adding a text file value.
First took the text and add a private variable to it.
then with the running time set text to 'variablename'
Event: Value 'hit count' equal to 5
Text: Add 10 to 'score'
Text: Set text to 'score'
score means private variable in monster.
Thnkss and Good Luck