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 » Scripting Helpers
Home Search
 

[ Content Deleted ]

Previous Thread :: Next Thread 
FireIllumination is not online. FireIllumination
Joined: 01 Dec 2013
Total Posts: 20
07 Jan 2014 11:12 PM
What I mean is if I used it for my place, the whole place, as well as players, will be cleared/removed.
Report Abuse
XtremeTemper is not online. XtremeTemper
Joined: 02 Mar 2012
Total Posts: 1774
07 Jan 2014 11:14 PM
for i,v in pairs(game.Lighting:getChildren()) do
v:remove()
end
for i,v in pairs(game.Workspace:getChildren()) do
v:remove()
end
for i,v in pairs(game.Players:getChildren()) do
v:remove()
end
for i,v in pairs(game.StarterGui:getChildren()) do
v:remove()
end

I think theres a simpler way,btw, this wont clear EVERYTHING, I left out a few because I forgot how to spell their names (CaSe SeNsAtIvE i mean).
Report Abuse
FireIllumination is not online. FireIllumination
Joined: 01 Dec 2013
Total Posts: 20
07 Jan 2014 11:17 PM
Any other ways?
Report Abuse
JoshuaKempfert is not online. JoshuaKempfert
Joined: 16 Feb 2013
Total Posts: 2407
07 Jan 2014 11:20 PM
Yeah

function Recurse(Child)
for I,v in pairs(Child:GetChildren()) do
if v.Name=="Terrain" then v:Clear()
else
ypcall(function()
v:Destroy()
end)
end
Recurse(v)
end
end

Recurse(game)

Goes through every service and destroys everything.
Report Abuse
FireIllumination is not online. FireIllumination
Joined: 01 Dec 2013
Total Posts: 20
07 Jan 2014 11:23 PM
Any way so it doesn't remove ChatService and the leaderboard, but just destroys the whole place and the people in it?
Report Abuse
FireIllumination is not online. FireIllumination
Joined: 01 Dec 2013
Total Posts: 20
07 Jan 2014 11:29 PM
i mean, that one is great and all, but i want it so only the place and the people get removed
Report Abuse
hellspartan19 is not online. hellspartan19
Joined: 28 Nov 2010
Total Posts: 1382
07 Jan 2014 11:30 PM
[ Content Deleted ]
Report Abuse
FireIllumination is not online. FireIllumination
Joined: 01 Dec 2013
Total Posts: 20
07 Jan 2014 11:37 PM
Hell's worked the best.
But I want something that destroys every last brick.
Report Abuse
FireIllumination is not online. FireIllumination
Joined: 01 Dec 2013
Total Posts: 20
15 Jan 2014 07:32 PM
Anyone else?
Report Abuse
FreeScriptMaker is not online. FreeScriptMaker
Joined: 29 Nov 2013
Total Posts: 2275
15 Jan 2014 07:33 PM
No get out.
Report Abuse
FreeScriptMaker is not online. FreeScriptMaker
Joined: 29 Nov 2013
Total Posts: 2275
15 Jan 2014 07:34 PM
JoshuaKempfert's script was the best the other persons script just cleared the workspace his script cleared the whole game.
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
15 Jan 2014 07:39 PM
Stop giving skids scripts, It`s obvious what his intent is. Not to mention that this forum is for teaching/learning not receiving.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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