First of all, I'm not on oder. Secondly, this script should've deleted the player's shirt and pants when they join (so that the body colors can be re-colored) but when I test this without wearing any clothing, it doesn't work.
if player.Character.className == "Shirt" == nil then
print("There is no need to delete the shirt")
else
player.Character.Shirt:Destroy()
end
if player.Character.className == "Pants" == nil then
print("There is no need to delete the pants")
else
player.Character.Shirt:Destroy()
end
If anyone could tell why, that'd be great!

1 comment
It didn't really work. What I was saying in my post was that if the player isn't wearing any clothing (e.g. using noob colors [yellow arms + head, blue torso, green legs, no shirt, no pants]) the script completely breaks.