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
 

trying to move all children to another parent

Previous Thread :: Next Thread 
SmokeyIsSmoking is not online. SmokeyIsSmoking
Joined: 29 Nov 2014
Total Posts: 8
18 Feb 2017 11:19 AM
local clon = game.Lighting.TutRoom:GetChildren()
clon.Parent = game.Workspace
Report Abuse
Snowskateer is not online. Snowskateer
Joined: 06 Dec 2011
Total Posts: 4647
18 Feb 2017 11:20 AM
local clon = game.Lighting.TutRoom:GetChildren()
for i,v in pairs(clone) do
v.Parent = workspace
end

Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
18 Feb 2017 11:20 AM
GetChildren() returns a table, iterate through it


Report Abuse
scottmike0 is not online. scottmike0
Joined: 14 Sep 2008
Total Posts: 1073
18 Feb 2017 11:22 AM
local clone = game.Lightning.TutRoom:Clone()

clone.Parent = game.Workspace
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
18 Feb 2017 11:23 AM
^ that's not what he asked for


Report Abuse
SmokeyIsSmoking is not online. SmokeyIsSmoking
Joined: 29 Nov 2014
Total Posts: 8
18 Feb 2017 11:23 AM
ah ok, ty everyone
Report Abuse
scottmike0 is not online. scottmike0
Joined: 14 Sep 2008
Total Posts: 1073
18 Feb 2017 11:31 AM
variables speak louder than words.
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