switch = { [4] = 3042, [5] = 3042, [6] = 3042, [7] = 3043, [8] = 3043, [9] = 3044, [10] = 3044 } function moreHeads(_,activator) local headCount = activator.m_iDecapitations if tonumber(headCount) >= 5 and tonumber(headCount) <= 10 then activator:SetAttributeValue("attach particle effect",switch[headCount]) end end