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 » Scripters
Home Search
 

Re: Children Is Not A Valid Member Of Workspace?

Previous Thread :: Next Thread 
superender11 is not online. superender11
Joined: 26 Nov 2014
Total Posts: 121
16 Aug 2017 01:57 AM
What Do I Do To Make It A Valid Member Of Workspace?
Report Abuse
Ajastra is not online. Ajastra
Joined: 01 Aug 2017
Total Posts: 1461
16 Aug 2017 02:00 AM
Hi superender. It looks like you're accessing workspace.Children, which is not a valid member of Workspace. Perhaps you meant to call workspace:GetChildren(). What is the line of code that's generating this error?


Report Abuse
Cysii is not online. Cysii
Joined: 03 Aug 2015
Total Posts: 2
16 Aug 2017 03:32 AM
game.Workspace:GetChildren()
Report Abuse
MrRobloxID is not online. MrRobloxID
Joined: 05 Apr 2017
Total Posts: 35
16 Aug 2017 04:06 AM
Use this command in a script in the workspace:

game.workspace:GetChildren('workspace')
print "FoundChildrenOfWorkspace"
Report Abuse
DarkLight is not online. DarkLight
Joined: 04 Dec 2006
Total Posts: 22
16 Aug 2017 04:07 AM
its children not Children
Report Abuse
james8tg is not online. james8tg
Joined: 25 Mar 2010
Total Posts: 229
16 Aug 2017 06:00 AM
"Children" is not a physical member of the workspace - it is a function or 'term' used to define the objects inside an entity.

For example, Workspace:GetChildren() would return a table containing every entity inside the workspace - and is most likely what you are looking for.

James,

https://www.roblox.com/library/891289916/TG-Systems-Anti-Exploit
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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