kert109
|
  |
| Joined: 31 Dec 2009 |
| Total Posts: 681 |
|
|
| 20 Mar 2012 05:35 PM |
| Trying to make a un-deletable script. It's for my admin commands. (My admin makes it to when I get banned the server shuts down. But my problem is that anyone can kill me then ban me for a perfectly no good exuse.) Help? |
|
|
| Report Abuse |
|
|
eSvena
|
  |
| Joined: 11 Aug 2011 |
| Total Posts: 75 |
|
|
| 20 Mar 2012 05:37 PM |
Use that : script.Parent = nil It will remove your script but not 'stop' it. This way, your script is unremovable ! |
|
|
| Report Abuse |
|
|
kert109
|
  |
| Joined: 31 Dec 2009 |
| Total Posts: 681 |
|
|
| 20 Mar 2012 05:44 PM |
So let me get this right. It removes it from workspace but it will still run? :O
|
|
|
| Report Abuse |
|
|
eSvena
|
  |
| Joined: 11 Aug 2011 |
| Total Posts: 75 |
|
|
| 20 Mar 2012 05:47 PM |
Yep, that's cool no ? =p
Try this script :
script.Parent = nil wait(1) print("Still running!")
____________________
and that work also :
script:remove() wait(1) print("Still running!") |
|
|
| Report Abuse |
|
|
bboy599
|
  |
| Joined: 10 Apr 2010 |
| Total Posts: 19 |
|
|
| 20 Mar 2012 06:42 PM |
| I would suggest making sure you will not want to edit the script in the future nor remove the script before taking this step. |
|
|
| Report Abuse |
|
|