Hello,
So what I want to make is like if, for example, I am pvping against a player, and they hit me, and then I die because of another cause (for example, I burned in lava), it would give +1 kill to the last attacker, because skript doesn't have this thing and I don't know how to set it, so that if I died because I burned in lava, and nobody before has hit me, then it wouldn't give a kill to anybody, but if someone did, it'd give them a +1 kill to their stats. And it should also "reset" the last hitter in case someone else hits me, or when I die and then respawn.
I'm not sure if I need to use additional addons for this or not. Could you help me with this, please?
Thanks
So what I want to make is like if, for example, I am pvping against a player, and they hit me, and then I die because of another cause (for example, I burned in lava), it would give +1 kill to the last attacker, because skript doesn't have this thing and I don't know how to set it, so that if I died because I burned in lava, and nobody before has hit me, then it wouldn't give a kill to anybody, but if someone did, it'd give them a +1 kill to their stats. And it should also "reset" the last hitter in case someone else hits me, or when I die and then respawn.
I'm not sure if I need to use additional addons for this or not. Could you help me with this, please?
Thanks