Madified
|
  |
| Joined: 19 Apr 2011 |
| Total Posts: 5292 |
|
| |
|
Madified
|
  |
| Joined: 19 Apr 2011 |
| Total Posts: 5292 |
|
| |
|
|
| 14 Dec 2013 01:17 PM |
yourvariable.Humanoid:findFirstChild("creator")
Let me see your script so I can fix it. |
|
|
| Report Abuse |
|
|
Madified
|
  |
| Joined: 19 Apr 2011 |
| Total Posts: 5292 |
|
| |
|
Madified
|
  |
| Joined: 19 Apr 2011 |
| Total Posts: 5292 |
|
| |
|
|
| 14 Dec 2013 01:28 PM |
local Humanoid = script.Parent.Humanoid function Death() local Killer = Humanoid:findFirstChild("creator") if Killer ~= nil then Killer.leaderstats["Kills"].Value = Killer.leaderstats["Kills"].Value + 1 end wait(0.1) script:remove() end Humanoid.Died:connect(Death)
--Just change of what will happen to the Killer |
|
|
| Report Abuse |
|
|
Azarth
|
  |
| Joined: 17 Aug 2012 |
| Total Posts: 2760 |
|
|
| 14 Dec 2013 01:38 PM |
^ leaderstats isn't in creator, and why are removing the script? |
|
|
| Report Abuse |
|
|
| |
|
|
| 14 Dec 2013 01:39 PM |
*Facepalm* 1. The creator is getting the player 2. It's still gonna stay in the player when RESPAWNED or else it will overload and you'll get like 30+ kills |
|
|
| Report Abuse |
|
|
Azarth
|
  |
| Joined: 17 Aug 2012 |
| Total Posts: 2760 |
|
|
| 14 Dec 2013 01:42 PM |
| creator does not stay in your character when you respawn. |
|
|
| Report Abuse |
|
|
|
| 14 Dec 2013 01:52 PM |
| creator, it is the PLAYER, ITS NOT IN THE PLAYER THAT DIED |
|
|
| Report Abuse |
|
|