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: Can I clone unions via a script?

Previous Thread :: Next Thread 
Klink45 is not online. Klink45
Joined: 06 Jun 2011
Total Posts: 26054
19 Mar 2015 03:22 PM
I know that unioning and negating parts can't be done in a script yet, but can I still say something like this if a union was the parent?

script.Parent: Clone()
Report Abuse
maxomega3 is not online. maxomega3
Joined: 11 Jun 2010
Total Posts: 10668
19 Mar 2015 03:22 PM
yes, but no space in between : and C
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
19 Mar 2015 03:22 PM
I don't see why not.
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
19 Mar 2015 03:23 PM
Oh, and it doesn't matter if you have the space between them. Lua's whitespace ruling is pretty loose.


game

.




Workspace

: Destroy (


)
Report Abuse
Klink45 is not online. Klink45
Joined: 06 Jun 2011
Total Posts: 26054
19 Mar 2015 03:25 PM
@Jarod
Somebody told me it was harder for it to understand, but thanks for that tip.
Report Abuse
maxomega3 is not online. maxomega3
Joined: 11 Jun 2010
Total Posts: 10668
19 Mar 2015 03:27 PM
huh
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
19 Mar 2015 03:28 PM
Well yeah, it might make it slower, but only by the infinitesimal thousandth of a yoctosecond. I have no experience with this stuff, but it would probably only take the parser a single character more, which is not much.
Report Abuse
BossfightX is not online. BossfightX
Joined: 06 Feb 2010
Total Posts: 2962
19 Mar 2015 03:30 PM
I just tested to see if it was possible. I managed to use a script that would clone a union. It cloned the union without a problem.
Report Abuse
ChiefDelta is not online. ChiefDelta
Joined: 05 Nov 2010
Total Posts: 13071
19 Mar 2015 03:31 PM
"but only by the infinitesimal thousandth of a yoctosecond"

*slow clap*
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