i have a script that is supposed to clear the chars appearance (because :ClearCharactersAppearance() does actually work). The for loop looks like this:

local limbs = {"LeftFoot","LeftHand","LeftLowerArm", "LeftLowerLeg"
,"LeftUpperArm","LeftUpperLeg","LowerTorso","RightFoot","RightHand"
,"RightLowerArm","RightLowerLeg","RightUpperArm","RightUpperLeg"
,"UpperTorso","Humanoid","Head","HumanoidRootPart"}


for limbs,v in pairs(table)do
	if i == name and v ~= value then 
		object:Destroy() 
	end
end

my friend sent me this, but i have no idea how to modify it to delete everything but whats in the table. Please help