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 » Building Helpers
Home Search
 

What is the parent of NetworkClient?

Previous Thread :: Next Thread 
blahblahbp is not online. blahblahbp
Joined: 19 Sep 2008
Total Posts: 59
06 Jul 2012 09:26 PM
Is it game, workspace, etc? Also, does anybody have a script to find the parent of something (for example type networkclient into a value and have it print the parent)?
Report Abuse
SCARFACIAL is not online. SCARFACIAL
Joined: 28 Jan 2010
Total Posts: 7970
06 Jul 2012 09:27 PM
It's a child of the workspace, but (this may be incorrect) I believe it's only obtainable with a LocalScript.

Haters gonn' hate.
Report Abuse
69scott69 is not online. 69scott69
Joined: 30 Jan 2011
Total Posts: 6136
06 Jul 2012 09:28 PM
Also, you may want to post this in Scripting Helpers.
Report Abuse
blahblahbp is not online. blahblahbp
Joined: 19 Sep 2008
Total Posts: 59
06 Jul 2012 09:31 PM
Was going to but I figured it'd be ignorant to ask for a script there..
Report Abuse
SCARFACIAL is not online. SCARFACIAL
Joined: 28 Jan 2010
Total Posts: 7970
06 Jul 2012 09:31 PM
For future reference, this sort of question is perfectly acceptable in Scripting Helpers.

Haters gonn' hate.
Report Abuse
SCARFACIAL is not online. SCARFACIAL
Joined: 28 Jan 2010
Total Posts: 7970
06 Jul 2012 09:33 PM
Oh, also:
You could use the Recursive argument of FindFirstChild to get the parent of something.

Example:
local item = game:FindFirstChild("NetworkServer", true)
if item then
print(item.Parent)
end

Haters gonn' hate.
Report Abuse
69scott69 is not online. 69scott69
Joined: 30 Jan 2011
Total Posts: 6136
06 Jul 2012 09:34 PM
They usually help out if you have a valid question like yours. If you just post 'Mak me a shooting GUN skrpt noaw!' then prepare to get shot down...
Report Abuse
blahblahbp is not online. blahblahbp
Joined: 19 Sep 2008
Total Posts: 59
06 Jul 2012 09:34 PM
Thanks guys.
Report Abuse
69scott69 is not online. 69scott69
Joined: 30 Jan 2011
Total Posts: 6136
06 Jul 2012 09:35 PM
Leave it to Scar to snipe my typing ability...
Report Abuse
blahblahbp is not online. blahblahbp
Joined: 19 Sep 2008
Total Posts: 59
06 Jul 2012 09:36 PM
Lol.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Building 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