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 » Scripters
Home Search
 

Destroying all of a ClassName

Previous Thread :: Next Thread 
bluefrog53 is not online. bluefrog53
Joined: 05 Feb 2012
Total Posts: 766
13 Mar 2015 03:56 PM
Hello when players join the game I would like to remove all CharacterMeshes and such. How would I do this? Is there a way I could use the FindFirstChild to find any CharacterMeshes and destroy them? Thanks.
Report Abuse
bluefrog53 is not online. bluefrog53
Joined: 05 Feb 2012
Total Posts: 766
13 Mar 2015 04:02 PM
Bump
Report Abuse
amanda is not online. amanda
Joined: 21 Nov 2006
Total Posts: 5925
13 Mar 2015 04:05 PM
bumping it won't make it be seen any faster, nor answered, it is actually just annoying so I would refrain from doing it

you have no imminent danger of your post not being on the front page, because posts move fairly slowly here

if you need more immediate help, google it
Report Abuse
AnimeWiki is not online. AnimeWiki
Joined: 26 Oct 2014
Total Posts: 460
13 Mar 2015 04:06 PM
What do you mean by character mesh , Packages ?
Report Abuse
bluefrog53 is not online. bluefrog53
Joined: 05 Feb 2012
Total Posts: 766
13 Mar 2015 04:07 PM
I'd like to thank you for getting my hopes up when I saw a reply thinking it was a semi-helpful comment.
Report Abuse
bluefrog53 is not online. bluefrog53
Joined: 05 Feb 2012
Total Posts: 766
13 Mar 2015 04:08 PM
Yeah packages are called character meshes anime.
Report Abuse
iiEssence is not online. iiEssence
Joined: 18 Jun 2014
Total Posts: 3467
13 Mar 2015 04:08 PM
I woulda given you an answer, but your attitude bothers me.

Hopefully, you find someone else.
Report Abuse
AnimeWiki is not online. AnimeWiki
Joined: 26 Oct 2014
Total Posts: 460
13 Mar 2015 04:11 PM
game:GetService("Players").PlayerAdded:connect(function(player)
repeat wait() until player.Character ~=nil
player.Character:WaitForChild("Humanoid")
for k,v in pairs(player.Character:GetChildren()) do
if v.ClassName == "CharacterMesh" then
v:remove()
end
end
end)
Report Abuse
bluefrog53 is not online. bluefrog53
Joined: 05 Feb 2012
Total Posts: 766
13 Mar 2015 04:11 PM
Yeah, sorry about that. I've just been a bit frustrated lately and the first comment on this thread was a bit unnecessary. Oh well.
Report Abuse
bluefrog53 is not online. bluefrog53
Joined: 05 Feb 2012
Total Posts: 766
13 Mar 2015 04:13 PM
Ah! Worked great thanks anime. You have refurbished my faith in the roblox community.
Report Abuse
Tuneable is not online. Tuneable
Joined: 16 Feb 2013
Total Posts: 2932
13 Mar 2015 04:14 PM
> scripter is being a total ass
> person seeking helps gets frustrated
> everyone gets mad at the person seeking help

???
Report Abuse
bluefrog53 is not online. bluefrog53
Joined: 05 Feb 2012
Total Posts: 766
13 Mar 2015 04:30 PM
Thanks, Tuneable ;)
Report Abuse
Roblok1 is not online. Roblok1
Joined: 27 Jul 2011
Total Posts: 2019
13 Mar 2015 04:48 PM
ya i dont get that ethier
Report Abuse
CrescentJade is not online. CrescentJade
Joined: 07 Jul 2010
Total Posts: 5494
13 Mar 2015 04:56 PM
She isnt being an ass. I totally agree with her, and the reason why I would not help. If you properly study the wiki you shohld be able to do this without help, with just a few articles aswell. Also, many of us don't like helping with scripts that can be fixed so easily and have no complextity to them.
Report Abuse
distalDigitPhalanx is not online. distalDigitPhalanx
Joined: 25 Jan 2015
Total Posts: 1509
13 Mar 2015 05:00 PM
While I agree that when you reach a certain skillz level, the wiki has all the documentation you need, I also think that it's important to consider that sometimes, HOW to do something isn't knowing your syntax and such, it's a matter of how to go about doing it. If you've never tried something like it before, you might not be able to imagine how. In the future, if you come across a similar problem, you should be able to apply the knowledge gained before.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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