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
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Game Design
Home Search
 

Re: I'm confused about GetChildren

Previous Thread :: Next Thread 
CeRibius is not online. CeRibius
Joined: 12 Jul 2014
Total Posts: 356
23 Aug 2016 03:53 PM
Is there a way I can use it to just edit all the children in a model?


like


game.Workspace.Model:GetChildren()


but I don't know how to use it to edit all parts in a model.
Report Abuse
enzotinman1 is not online. enzotinman1
Joined: 22 Jun 2012
Total Posts: 408
23 Aug 2016 04:02 PM
for i, v in pairs(game.Workspace.Model:GetChildren()) do
--code
end
Report Abuse
qqtt991 is online. qqtt991
Joined: 14 Dec 2007
Total Posts: 1387
23 Aug 2016 05:14 PM
Not for the snippet above, i is the index (how many times the loop has looped currently), and v is the child object itself.
Report Abuse
JasonXunn is online. JasonXunn
Joined: 18 Jan 2015
Total Posts: 857
23 Aug 2016 05:44 PM
^
Report Abuse
InterstellarSailor is not online. InterstellarSailor
Joined: 20 Aug 2016
Total Posts: 301
23 Aug 2016 05:47 PM
Should have posted this in scripting but at least you got help.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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