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: how to set a clone parent with script?

Previous Thread :: Next Thread 
Horrible_Pun is not online. Horrible_Pun
Joined: 13 May 2017
Total Posts: 5102
03 Aug 2017 06:09 PM
after using the inbuilt function, clone, how do you set a name on it and more importantly set a parent for it?
Report Abuse
Horrible_Pun is not online. Horrible_Pun
Joined: 13 May 2017
Total Posts: 5102
03 Aug 2017 06:14 PM
bump
Report Abuse
Horrible_Pun is not online. Horrible_Pun
Joined: 13 May 2017
Total Posts: 5102
03 Aug 2017 06:18 PM
b2
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
03 Aug 2017 06:19 PM
Clone returns the new object. If you're going to write to more than one property, declare a reference to the object.

local clone = object:Clone()


Report Abuse
Horrible_Pun is not online. Horrible_Pun
Joined: 13 May 2017
Total Posts: 5102
03 Aug 2017 06:20 PM
what i want to do is,
after cloning something, i want to set a parent for it
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
03 Aug 2017 06:20 PM
Okay.


Report Abuse
Horrible_Pun is not online. Horrible_Pun
Joined: 13 May 2017
Total Posts: 5102
03 Aug 2017 06:22 PM
???
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
03 Aug 2017 06:23 PM
I gave you your answer.


Report Abuse
Horrible_Pun is not online. Horrible_Pun
Joined: 13 May 2017
Total Posts: 5102
03 Aug 2017 06:24 PM
ohhh nevermind i see what you were saying now
Report Abuse
imepic457 is online. imepic457
Joined: 21 Dec 2012
Total Posts: 212
03 Aug 2017 06:24 PM
pretty much you can use the variable for the clone like a normal instance. you can do this for example: clone.Size = Vector3.new(1,1,1)
Report Abuse
Unsubtleties is not online. Unsubtleties
Joined: 28 Nov 2016
Total Posts: 9203
03 Aug 2017 06:26 PM
"pretty much you can use the variable for the clone like a normal instance"

That's because it IS a normal instance.


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