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: Someome spammed Locked bricks in my place

Previous Thread :: Next Thread 
gobitoe is not online. gobitoe
Joined: 30 Jan 2011
Total Posts: 1781
10 Feb 2013 07:32 AM
''while wait(0) do game.Workspace.blablablabla anyway

There's million of heads and it lag so bad... I was building and gave admin to my friend :l

Do someome has a script like

''If Part.ClassName = Head then remove()''
Report Abuse
gobitoe is not online. gobitoe
Joined: 30 Jan 2011
Total Posts: 1781
10 Feb 2013 07:37 AM
bump
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
10 Feb 2013 07:41 AM
[ Content Deleted ]
Report Abuse
awas3 is not online. awas3
Joined: 24 Oct 2010
Total Posts: 2854
10 Feb 2013 07:50 AM
Hey gobi :) The name of the part is Head?

l=~/A3\~=l
Report Abuse
awas3 is not online. awas3
Joined: 24 Oct 2010
Total Posts: 2854
10 Feb 2013 07:54 AM
Try this, replace NAMEHERE with the name of the bricks:


for _, v in pairs(game.Workspace:GetChildren()) do
if v.ClassName == "Part" and v.Name == "NAMEHERE" then
v:Destroy()
end
end

l=~/A3\~=l
Report Abuse
StealthKing95 is not online. StealthKing95
Joined: 13 Dec 2008
Total Posts: 4263
10 Feb 2013 09:37 AM
try this, it also checks if the part is locked

for _, v in pairs(game.Workspace:GetChildren()) do
if v.ClassName == "Part" and v.Name == "NAMEHERE" and v.Locked == true then
v:Destroy()
end
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