|
| 14 Nov 2013 09:52 PM |
Hi,
Is there a script available that disables all 2.0's, Action Figure, Man, Woman, and ROBLOX Girl packages?? I don't want to disable any other packages, just those.
Thanks in advance, Patrick |
|
|
| Report Abuse |
|
|
shonclub
|
  |
| Joined: 05 Sep 2009 |
| Total Posts: 1331 |
|
|
| 14 Nov 2013 09:52 PM |
| Yup, delete the.... I forgot what it was... Let me check... (Give me 5 minutes) |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 14 Nov 2013 09:53 PM |
| Remove all objects in character with the class name of CharacterMesh |
|
|
| Report Abuse |
|
|
|
| 14 Nov 2013 10:26 PM |
| But I don't want ALL packages removed from game, only those few I listed. |
|
|
| Report Abuse |
|
|
qrrrq
|
  |
| Joined: 27 Jan 2013 |
| Total Posts: 1252 |
|
|
| 14 Nov 2013 10:36 PM |
Assuming this script is in the character
pack = script.Parent:GetChildren()
for i=1, #g do if g[i]:IsA("CharacterMesh") and g[i].MeshId == ID or g[i].MeshId == ID then g[i]:remove() end end
Wherever it says ID add the wanted ID and add more "or" statements for more IDs. |
|
|
| Report Abuse |
|
|
| |
|
|
| 15 Nov 2013 10:24 PM |
For the final script I have this:
pack = script.Parent:GetChildren()
for i=1, #g do if g[i]:IsA("CharacterMesh") and g[i].MeshId == 27112438 or g[i].MeshId == 86499905 or g[i].MeshId == 32336368 then g[i]:remove() end end |
|
|
| Report Abuse |
|
|
MHebes
|
  |
| Joined: 04 Jan 2013 |
| Total Posts: 2278 |
|
|
| 15 Nov 2013 10:46 PM |
The MeshId isn't a number, it's string:
"http://www.roblox.com/asset/?id=86499905" |
|
|
| Report Abuse |
|
|
|
| 15 Nov 2013 10:49 PM |
| Need to check for the torso, left leg, right leg, left arm, right arm, and head assets for the CharacterMesh... |
|
|
| Report Abuse |
|
|