Hi Developers!
Today I have a tricky question (atleast for me) for you. So I have a kill assist system, which awards all players dealt any amount of damage different amount of points. I’ve made all the “getting damage and player data” thing, but I’m struggling to make that calculation to award the player with most damage greater rewards.
The structure of these tags:
Humanoid is the Parent -> first tag `(creator)` which represents the player who dealt some damage -> another tag `(damage)` that represents the amount of damage. Take note that there is going to be more than 2Main problems right now:
How do I get damage
tags values from the creator
table?
How to compare these values and find one who did the most damage and find these who did less damage, because all of them will get a reward?
I would appreciate any help provided ! Also if you have some additional questions. please let me know!