johnhugh
|
  |
| Joined: 26 Mar 2009 |
| Total Posts: 1971 |
|
|
| 03 Aug 2013 10:30 AM |
1: Say, there is a script within a script. The script holding the other script is deleted. Are they both deleted?
2: If the child script isn't deleted, can I use a clone of it, from the child, and recreate it and parent itself again?
Thanks. I'm working on prevention against hackers, if you have any tips please, do, say them!
I'm not going to go overboard, it's just that if someone decided to hack my game, I made my admin list out of values. Rename = free admin e,e |
|
|
| Report Abuse |
|
|
As8D
|
  |
| Joined: 24 Dec 2009 |
| Total Posts: 2907 |
|
|
| 03 Aug 2013 10:37 AM |
Hello.
That depends on what you mean by 'deleted'.
Do you mean something like:
script:Destroy()
or
script:Remove()
or do you do it manually by selecting the Script (in edit/solo mode) and clicking 'cut'?
If it's Destroy, then the object including it's descendants is removed, and all references to it is wiped out. There's no way to regain them after calling :Destroy()
The other methods will simply set the .Parent property to nil, as :Remove() does that with the object, then all it's descendant objects.
- As, herp, :Remove() is getting deprecated, harhar. Get control, use :Destroy()! |
|
|
| Report Abuse |
|
|
johnhugh
|
  |
| Joined: 26 Mar 2009 |
| Total Posts: 1971 |
|
|
| 03 Aug 2013 06:05 PM |
| Manually with roblox studio tools. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Aug 2013 06:18 PM |
^^ it get's removed, than collected by the gc. So since it's not referenced, then in a way--yes. |
|
|
| Report Abuse |
|
|
As8D
|
  |
| Joined: 24 Dec 2009 |
| Total Posts: 2907 |
|
|
| 03 Aug 2013 06:25 PM |
Then, as long as these tools don't use Destroy (as I assume you're talking about the 'cut' button in the top of your Roblox Studio... which is the same as just rightclicking and clicking cut)...
Then it should be possible. Though you'll have to store the object before clicking 'cut'.
- As, you can use the Command Bar while in Edit mode. Fancinezz. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
As8D
|
  |
| Joined: 24 Dec 2009 |
| Total Posts: 2907 |
|
|
| 03 Aug 2013 06:27 PM |
Execute script?
Anything but level 2 identity?
- As, Level 0. We pwn ya' |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 03 Aug 2013 06:31 PM |
| It's probably some GarbageService poop or a plugin that does childremoved, idk I just saw sorcus talking about it |
|
|
| Report Abuse |
|
|