Hello,
I think this should be possible by combining DamagedEvent and the GrantItem function of the item spawner.
My approach would be to learn about how DamagedEvent works (vid) with focus on getting the correct ‘Agent’ (player who took damage) because the GrantItem function takes in an Agent.