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: "attempt to call method 'findFirstChild' (a nil value)"

Previous Thread :: Next Thread 
3rdblocks is not online. 3rdblocks
Joined: 26 May 2013
Total Posts: 176
07 Dec 2013 06:56 AM
PlayersHumanoidA = ToucherA.Parent:findFirstChild("Humanoid")
if PlayersHumanoidA ~= nil then
PlayerNameA = PlayersHumanoidA.Parent.Name
VerificationMatchA = ToucherNames:findFirstChild(PlayerNameA)
if VerificationMatchA == nil then

VerificationMatchA = ToucherNames:findFirstChild(PlayerNameA)
It errored with this line and I don't know why. What should I change?
Report Abuse
blocker192 is not online. blocker192
Joined: 13 Jan 2010
Total Posts: 496
07 Dec 2013 07:18 AM
This makes my mind implode. So hard to read it.
Report Abuse
Preponderance is not online. Preponderance
Joined: 30 Sep 2009
Total Posts: 21293
07 Dec 2013 07:32 AM
If I'm reading the script properly, you are searching for the name in the model of
ToucherNames rather than searching in Workspace.

I'm a bit tired so if I am wrong, forgive me.
Report Abuse
3rdblocks is not online. 3rdblocks
Joined: 26 May 2013
Total Posts: 176
07 Dec 2013 09:20 AM
Touchers is a table.
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
07 Dec 2013 09:21 AM
table? use in pairs?


Also, why is your place called "hacktest" and this is an alternative?
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