| |
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 24 Jan 2014 08:06 PM |
| Make it in the killing weapon? |
|
|
| Report Abuse |
|
|
|
| 24 Jan 2014 08:14 PM |
I think he is talking about how things like the linked swords work almost universally with all leaderboards
Its something in the leaderboard. When someone dies, add 1 KO the player in the object value, the object value is located in the dead player, its called creator. |
|
|
| Report Abuse |
|
|
transIate
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 2699 |
|
|
| 24 Jan 2014 08:19 PM |
for _,v in pairs(game:GetService'Players':GetChildren())do if v.Character.Humanoid.Health == 0 then print(v.Name..'has died') end end |
|
|
| Report Abuse |
|
|
|
| 24 Jan 2014 08:32 PM |
| That detects when they die, not when someone kills them |
|
|
| Report Abuse |
|
|
|
| 24 Jan 2014 10:11 PM |
| I may be wrong but I think there's a tag, and that's how the leaderboards do it.. hmm.. |
|
|
| Report Abuse |
|
|
|
| 24 Jan 2014 10:13 PM |
| The usual method, the "creator" tag, which is an InstanceValue which's Value is the player that killed you, its name is "creator" and it is located inside the Humanoid. :P |
|
|
| Report Abuse |
|
|
|
| 24 Jan 2014 10:20 PM |
| thanks saved me the time of looking into the leaderboard script |
|
|
| Report Abuse |
|
|
transIate
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 2699 |
|
| |
|