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 can I use :GetChildren a certain type of item?

Previous Thread :: Next Thread 
lordrambo is not online. lordrambo
Joined: 16 Jun 2009
Total Posts: 20628
24 Apr 2013 04:49 PM
I want to use :GetChildren to remove everything with a ClassName of Hat.

~ The ATR Fishie ~
Report Abuse
lordrambo is not online. lordrambo
Joined: 16 Jun 2009
Total Posts: 20628
24 Apr 2013 04:54 PM
I messed up the title :O Pretty much the thread explains that.

~ The ATR Fishie ~
Report Abuse
LuaPenguin is not online. LuaPenguin
Joined: 19 Apr 2013
Total Posts: 39
24 Apr 2013 04:56 PM
for _,n in next,Workspace["LuaPenguin"]:GetChildren() do
if n:IsA("Hat") then
n:Destroy()
end
end
Report Abuse
lordrambo is not online. lordrambo
Joined: 16 Jun 2009
Total Posts: 20628
24 Apr 2013 04:58 PM
That would delete all the hats on your character? Okay, thank you.

~ The ATR Fishie ~
Report Abuse
LuaPenguin is not online. LuaPenguin
Joined: 19 Apr 2013
Total Posts: 39
24 Apr 2013 04:59 PM
Yep...
Report Abuse
KeyUp is not online. KeyUp
Joined: 17 Mar 2013
Total Posts: 457
24 Apr 2013 05:03 PM
[ Content Deleted ]
Report Abuse
LuaPenguin is not online. LuaPenguin
Joined: 19 Apr 2013
Total Posts: 39
24 Apr 2013 05:05 PM
Why so complicated?!?!?!
Report Abuse
KeyUp is not online. KeyUp
Joined: 17 Mar 2013
Total Posts: 457
24 Apr 2013 05:05 PM
[ Content Deleted ]
Report Abuse
LuaPenguin is not online. LuaPenguin
Joined: 19 Apr 2013
Total Posts: 39
24 Apr 2013 05:07 PM
I was referring to the pcall manly buy okay :3
Report Abuse
lordrambo is not online. lordrambo
Joined: 16 Jun 2009
Total Posts: 20628
24 Apr 2013 05:08 PM
Is there any reason why people come here on alts? never made sense to me.

~ The ATR Fishie ~
Report Abuse
LuaPenguin is not online. LuaPenguin
Joined: 19 Apr 2013
Total Posts: 39
24 Apr 2013 05:09 PM
Ehh...
I usually am on here with my main account...
Report Abuse
KeyUp is not online. KeyUp
Joined: 17 Mar 2013
Total Posts: 457
24 Apr 2013 05:10 PM
[ Content Deleted ]
Report Abuse
KeyUp is not online. KeyUp
Joined: 17 Mar 2013
Total Posts: 457
24 Apr 2013 05:10 PM
[ Content Deleted ]
Report Abuse
UnBuild is not online. UnBuild
Joined: 22 Mar 2013
Total Posts: 3233
24 Apr 2013 05:10 PM
@Lord
Idk, I wanted to start over on a new account and learn to script
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