generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Help!

Previous Thread :: Next Thread 
JonathanSwag is not online. JonathanSwag
Joined: 30 Aug 2011
Total Posts: 1012
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
JonathanSwag is not online. JonathanSwag
Joined: 30 Aug 2011
Total Posts: 1012
11 Sep 2011 11:55 AM
Help?
Report Abuse
JonathanSwag is not online. JonathanSwag
Joined: 30 Aug 2011
Total Posts: 1012
11 Sep 2011 11:56 AM
e.e
Report Abuse
Timdon8122 is not online. Timdon8122
Joined: 04 Apr 2010
Total Posts: 124
11 Sep 2011 11:57 AM
First of all tell us what are you trying to do
Report Abuse
JonathanSwag is not online. JonathanSwag
Joined: 30 Aug 2011
Total Posts: 1012
11 Sep 2011 11:57 AM
. . .
Report Abuse
JonathanSwag is not online. JonathanSwag
Joined: 30 Aug 2011
Total Posts: 1012
11 Sep 2011 11:59 AM
Bump
Report Abuse
JonathanSwag is not online. JonathanSwag
Joined: 30 Aug 2011
Total Posts: 1012
11 Sep 2011 12:00 PM
No one is helping =/
Report Abuse
JonathanSwag is not online. JonathanSwag
Joined: 30 Aug 2011
Total Posts: 1012
11 Sep 2011 12:16 PM
No help! ............
Report Abuse
JonathanSwag is not online. JonathanSwag
Joined: 30 Aug 2011
Total Posts: 1012
11 Sep 2011 12:19 PM
Guys, wake up!
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image