|
| 15 Jul 2012 06:32 PM |
Is there a way to may a script that literally just completely removes everything? If so, how?
-Nick |
|
|
| Report Abuse |
|
|
MrNicNac
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 26567 |
|
|
| 15 Jul 2012 06:32 PM |
Workspace:ClearAllChildren()
Now we have coffee. |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2012 06:36 PM |
I mean like, EVERYTHING.
-Nick |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2012 06:36 PM |
By the way, I tried the game.Workspace:ClearAllChildren() but not everything in the Workspace was deleted...
-Nick |
|
|
| Report Abuse |
|
|
Techwiz19
|
  |
| Joined: 30 Jan 2011 |
| Total Posts: 462 |
|
|
| 15 Jul 2012 06:37 PM |
| Go to the configuration page of your place and click reset and choose the terrain. Then delete the terrain. Save. |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2012 06:38 PM |
...
While a server is running, a script removes everything in a game.
Not resetting the place...
-Nick |
|
|
| Report Abuse |
|
|
OwneD1991
|
  |
| Joined: 16 Oct 2009 |
| Total Posts: 12623 |
|
|
| 15 Jul 2012 06:39 PM |
"While a server is running"
sounds like you are using this for exploiting.... |
|
|
| Report Abuse |
|
|
liavt
|
  |
| Joined: 12 Mar 2009 |
| Total Posts: 1241 |
|
|
| 15 Jul 2012 06:39 PM |
you can't remove everything..... you can remove everything in workspace except for camera and terrain. |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2012 06:41 PM |
for i,v in pairs(workspace:GetChildren()) do v:Destroy() end |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2012 06:45 PM |
I'm not, I'm trying to create a server shutdown script.
-Nick |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2012 06:48 PM |
If you mean all parts, you can do:
for i,v in pairs(workspace:GetChildren()) do if v:IsA("Part") then v:Destroy() end end
|
|
|
| Report Abuse |
|
|
|
| 15 Jul 2012 06:49 PM |
You can crash a server by this or something similar.
game.Players.YOURNAME = workspace
and then you become the workspace, and leave. |
|
|
| Report Abuse |
|
|
malachi11
|
  |
| Joined: 07 May 2008 |
| Total Posts: 2420 |
|
|
| 15 Jul 2012 06:52 PM |
workspace:ClearAllChildren() workspace.Terrain:Clear()
:P |
|
|
| Report Abuse |
|
|
|
| 15 Jul 2012 06:53 PM |
| He wants to shut down the server. |
|
|
| Report Abuse |
|
|