Under the LuauHeap → Memory Categories section, it states that using debug.setmemorycategory will change the category in which the scripts are categorized under. However, under the section, it still applies to the subset of scripts, the default behavior.