I place this GameMode code in an item so as not to run the script on the Actor entity. This script runs on an unplayable token in Legion Explorers' inventory. The following developer comment is in the item's script: Despite being a Legion-related item (called LegionExplorerAuraToken internally), it was mistakenly placed in the inventory of Crandon in North Vegas.
The GECK says it's a pair of sunglasses, but it can't be equipped or even seen if added to the inventory.