for k,v in pairs(ragdolllist1) do if not ragdolllist[k] then --the field is nil (NULL w/e) ragdolltouse = ragdolllist1[k] ragdolllist = ragdolllist1 end end