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: How do I remove tools from the StarterPack?

Previous Thread :: Next Thread 
UnknownGunner is not online. UnknownGunner
Joined: 28 Apr 2011
Total Posts: 2881
20 Apr 2012 07:20 AM
starterpack = game.StarterPack:GetChildren()
starterpack:Remove()

This isn't seeming to working.. I'm not used to GetChildren.

But yeah, I add it to starterpack, now I just need to remove it from there.
Report Abuse
CloneTrooper1019 is not online. CloneTrooper1019
Joined: 19 Jan 2009
Total Posts: 6227
20 Apr 2012 07:24 AM
local stuff = game.StarterPack:GetChildren()
for i = 1,#stuff do
stuff[i]:Destroy()
end
Report Abuse
BAUER102 is not online. BAUER102
Joined: 03 Apr 2010
Total Posts: 5936
20 Apr 2012 07:26 AM
You can also just say:

game.StarterPack:ClearAllChildren()
Report Abuse
UnknownGunner is not online. UnknownGunner
Joined: 28 Apr 2011
Total Posts: 2881
20 Apr 2012 07:28 AM
Thanks.
Report Abuse
CloneTrooper1019 is not online. CloneTrooper1019
Joined: 19 Jan 2009
Total Posts: 6227
20 Apr 2012 09:32 AM
@Bauer

True. But thats how I commonly do it.
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