game.Players.PlayerAdded:connect(function(plr)
local humanoid = plr.Character:FindFirstChild("Humanoid")
plr.Character:FindFirstChild("Pants"):Destroy()
plr.Character:FindFirstChild("Shirt"):Destroy()
plr.Character:FIndFirstChild("ShirtGraphic"):Destroy()
for _, accessory in ipairs(humanoid:GetAccessories()) do
humanoid:RemoveAccessories()
end
end)
COMMUNITY QUESTION
I'm not sure how to go about this correctly?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
I'm also getting a random error for using FindFirstChild to index a nil value. I don't see why I'm getting this error