Hi, I am making a sword where it will give you coins every time you kill another player. I was just wondering if someone can explain what this 'creator' value means which almost every youtube tutorial has. Thank you.
✓ ANSWER ACCEPTED
What is a 'creator' value?
1 answer
✓ Accepted answer
A creator value is just any value instance that is put in the humanoid that is being attacked. It is used to detect who killed who. When programming, you would insert an object value into the humanoid and name the value "creator". Then you would set the value of "creator" to whoever just attacked. In a leaderboard script, you could run a function so that whenever a player dies, it'll look for the "creator" inside of it. If it finds "creator" it'll look for the value. If the value isn't nil, it'll know who killed the player.
I hope this answers your question
This discussion is preserved as it was. New answers, comments, and votes are closed.
