Help with verse

Hello, im working on this project and wqas wondering if anyone knew how to make code when a player takes damge they get a item (A rusty can) keep in note only the player that takes the damge gets the can. Im thinking maybe using a rusty can. im not sure.

Thank you

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.

1 Like