How do you give a player who knocked someone else out their resources?

I’m planning on making a fighting game where players compete for resources. If player 1 knocks player 2 out, I want to give the amount of resources in player 2’s inventory to player 1.

You can check item count using inventory item manager, and give the amount by a item granter block code
(Im assuming there is only one type of resource you are giving)

I made a property and connected that to an inventory item manager. Once a player got knocked out, it sent a pulse to an item granter with block code, but it didn’t do anything when I knocked someone out.