leo1457
|
  |
| Joined: 01 May 2014 |
| Total Posts: 6921 |
|
|
| 01 Jan 2017 11:32 AM |
ive removed the shirt graphic and it's not working, how can i remove the t-shirt of a player?
r+://553352969r+://553353047 siggies r+://561265896 |
|
|
| Report Abuse |
|
|
|
| 01 Jan 2017 11:34 AM |
Check if they have a shirt by doing :FindFirstChild()
http://wiki.roblox.com r+://169950678 |
|
|
| Report Abuse |
|
|
leo1457
|
  |
| Joined: 01 May 2014 |
| Total Posts: 6921 |
|
|
| 01 Jan 2017 11:36 AM |
ive done i,v in pairs to check if they have had a t-shirt and it still doesn't get removed
r+://553352969r+://553353047 siggies r+://561265896 |
|
|
| Report Abuse |
|
|
|
| 01 Jan 2017 11:38 AM |
Did you use the :Destroy() function?
http://wiki.roblox.com r+://169950678 |
|
|
| Report Abuse |
|
|
leo1457
|
  |
| Joined: 01 May 2014 |
| Total Posts: 6921 |
|
|
| 01 Jan 2017 11:38 AM |
Yes
for i, v in pairs(plr.Character:GetChildren()) do if v:IsA("Clothing") or v:IsA("Pants") or v:IsA("Shirt Graphic") or v:IsA("CharacterMesh") or v:IsA("Accessory") then v:Destroy() end end
r+://553352969r+://553353047 siggies r+://561265896 |
|
|
| Report Abuse |
|
|
|
| 01 Jan 2017 11:39 AM |
^
for _, object in pairs(plr.Character:GetChildren()) do if object:IsA("CharacterAppearance") or object:IsA("Accessory") then object:Destroy() end end
absolutely no reason why that shouldn't work
Formerly ToxicDominator - add 30,319 posts |
|
|
| Report Abuse |
|
|