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)

1 comment

0

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