How can i make on death of player by damage function give attacker 1 diamond?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

DJ_Dogos

Member
Dec 19, 2023
49
0
6
15
on death of player by damage function give attacker 1 diamond, do someone know how to do it?
 
Thats true. I don't really understand it, but a player always dies by damage. So I don't know what you want. You could do
on death:
if attacker is player:
if victim is player:
give diamond to attacker