l0lzz
|
  |
| Joined: 05 Dec 2009 |
| Total Posts: 1529 |
|
|
| 11 Jun 2012 01:35 PM |
I'm trying to get the players stats, but I keep getting this output,
13:34:12 - Workspace.Shop1.TouchSensor.SHOP.Frame.MAIN:18: attempt to index global 'Stats' (a function value) 13:34:12 - Script "Workspace.Shop1.TouchSensor.SHOP.Frame.MAIN", Line 18 13:34:12 - stack end
Player = script.Parent.Parent.Parent.Parent Stats = Player:FindFirstChild("leaderstats") C = Stats:FindFirstChild("C") -- Line 18
|
|
|
| Report Abuse |
|
l0lzz
|
  |
| Joined: 05 Dec 2009 |
| Total Posts: 1529 |
|
| |
|
| 11 Jun 2012 02:08 PM |
| It's trying to tell you that you have a function named Stats(...) and you are trying to perform a :FindFirstChild() on it. |
|
|
| Report Abuse |
|