camperxD
|
  |
| Joined: 03 Jun 2012 |
| Total Posts: 493 |
|
|
| 30 Oct 2012 11:56 PM |
local Humanoid = script.Parent.Humanoid -- Change Enemy to the name of your Monsters Humanoid function PwntX_X() local tag = Humanoid:findFirstChild("creator") if tag ~= nil then if tag.Value ~= nil then local Leaderstats = tag.Value:findFirstChild("leaderstats") if Leaderstats ~= nil then Leaderstats.Gold.Value = Leaderstats.Gold.Value + 80 --How Much Money Given wait(0.1) script:remove() end end end end |
|
|
| Report Abuse |
|
|
Riderj
|
  |
| Joined: 15 Aug 2011 |
| Total Posts: 1534 |
|
|
| 31 Oct 2012 12:03 AM |
| Make sure all scripts are in the right location, make sure the parent of the script is a humanoid. Make sure that the creator value is located in the humanoid, and then we can help you a bit more considering nothing looks wrong at a quick glance. |
|
|
| Report Abuse |
|
|
Vultraz
|
  |
| Joined: 03 Jul 2008 |
| Total Posts: 1289 |
|
|
| 31 Oct 2012 12:21 AM |
| Does anything show up in the output? |
|
|
| Report Abuse |
|
|
Vultraz
|
  |
| Joined: 03 Jul 2008 |
| Total Posts: 1289 |
|
|
| 31 Oct 2012 12:22 AM |
| Also, is the function ever called in the script? |
|
|
| Report Abuse |
|
|