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
|
  |
| Joined: 30 Jan 2011 |
| Total Posts: 1781 |
|
| |
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
| |
|
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
|
  |
| 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 |
|
|
|
| 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 |
|
|