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
 

Re: I need a Game.Workspace

Previous Thread :: Next Thread 
roleo1122 is not online. roleo1122
Joined: 28 Jan 2013
Total Posts: 971
14 Jul 2014 07:05 PM
I need a Game.Workapace that deltetes the whole game and all the parts
Report Abuse
roleo1122 is not online. roleo1122
Joined: 28 Jan 2013
Total Posts: 971
14 Jul 2014 07:06 PM
Bumb
Report Abuse
LetUsGame is not online. LetUsGame
Joined: 09 Nov 2013
Total Posts: 199
14 Jul 2014 07:07 PM
You need a Game.Workspace? Just go to studio and do Ctr + N
Report Abuse
Ulrakid11 is not online. Ulrakid11
Joined: 31 Dec 2010
Total Posts: 1587
14 Jul 2014 07:07 PM
If you need to delete everything in workspace, use

workspace:ClearAllChildren()
Report Abuse
BruceAB12 is not online. BruceAB12
Joined: 19 Jan 2012
Total Posts: 3238
14 Jul 2014 07:08 PM
Um

Game.Workspace:ClearAllChildren()
Report Abuse
Tynexx is not online. Tynexx
Joined: 11 Jul 2012
Total Posts: 1559
14 Jul 2014 07:08 PM
game:Destroy()
Report Abuse
Ulrakid11 is not online. Ulrakid11
Joined: 31 Dec 2010
Total Posts: 1587
14 Jul 2014 07:08 PM
A less efficient method would be

c = workspace:GetChildren()
for i = 1, #c do
c[i]:Destroy()
end
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