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
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
|
| 19 Mar 2015 03:22 PM |
| yes, but no space in between : and C |
|
|
| Report Abuse |
|
|
| |
|
|
| 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
|
  |
| 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
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
| |
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 19 Mar 2015 03:31 PM |
"but only by the infinitesimal thousandth of a yoctosecond"
*slow clap* |
|
|
| Report Abuse |
|
|