|
| 06 Aug 2014 01:00 AM |
for i, v in pairs(char.Torso:GetChildren()) do if v:IsA("BasePart") then v:Destroy() else end end this is in a script i have and im trying to make it if it finds a part in the torso then delete it but it breaks the whole script for some reason |
|
|
| Report Abuse |
|
|
|
| 06 Aug 2014 01:28 AM |
for i, v in pairs(char.Torso:GetChildren()) do
You are trying to find parts in the torso...??
That's a bad place to put parts....
Try directly in the player model.... or create a model inside the character...
|
|
|
| Report Abuse |
|
|
|
| 06 Aug 2014 01:41 AM |
| the judge of what goes into the torso ladies and gentlemen |
|
|
| Report Abuse |
|
|
2eggnog
|
  |
| Joined: 08 Nov 2008 |
| Total Posts: 1351 |
|
|
| 06 Aug 2014 02:18 AM |
| Try getting rid of the extraneous `else`. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 06 Aug 2014 02:19 AM |
| There are no parts in torso, only joints and a possible decal |
|
|
| Report Abuse |
|
|
|
| 06 Aug 2014 02:21 AM |
^ i added parts lol
i fixed this thanks for suggestion tho <3 |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|