2JJ1
|
  |
| Joined: 15 Mar 2012 |
| Total Posts: 1571 |
|
|
| 01 Aug 2014 03:17 PM |
if char.Character.Shirt then char.Character.Shirt:Destroy() end if char.Character.Pants then char.Character.Pants:Destroy() end
I deleted the shirt to test what would happen. But it just sais it is nil. Im trying to get the script to recognize if its nil :L |
|
|
| Report Abuse |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 01 Aug 2014 03:19 PM |
if char.Character:FindFirstChild("Shirt") then char.Character.Shirt:Destroy() end if char.Character:FindFirstChild("Pants") then char.Character.Pants:Destroy() end |
|
|
| Report Abuse |
|