|
| 11 Sep 2011 11:53 AM |
On the output, it says "attempt to call a nil value"
db = false
function onTouched(hit) if hit.Parent.Humanoid ~= nil and db == false then db = true char = hit.Parent player = game.Players:FindFirstChild(""..char.Name.."") player.leaderstats.Caught.Value = player.leaderstats.Caught.Value + 100 script.Parent:Remove() end end
script.Parent.Touched:connect(OnTouched)
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 11 Sep 2011 11:57 AM |
First of all tell us what are you trying to do
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
| |
|
| |
|