I'm trying to create a perk that boosts the player's Science, Repair, and Survival skills while in the crafting menus. For starters, I created an ability that simply provides +10 to each skill. Then I went into CraftingWorkbenchRecipesScript, CraftingReloadingBenchRecipesScript, and CraftingCampfireRecipesScript and added the following lines right below "Begin OnActivate": --------------------------------------------------- If Player.HasPerk NewPerk == 1 If Player.IsSpellTargetAlt NewAbility == 0 Player.AddSpellNS NewAbility Endif Endif ---------------------------------------------------- This succeeds in giving the player a bonus to those skills. The problem I've had is trying to remove the bonus once the player leaves the crafting menu. I created a new script with the following: ---------------------------------------------- Begin GameMode If Player.IsSpellTargetAlt NewAbility == 1 Player.Dispel NewAbility Endif End ----------------------------------------------- This script apparently doesn't do anything, as the skill bonuses remain long after I've left the menu. I tried attaching a duration to the skill bonuses in the new ability. I thought back to Morrowind, and figured that time wouldn't pass in a menu, but if the bonuses only last 1 second, then they should simply expire 1 second after normal gameplay resumes. For whatever reason though, the bonuses just didn't expire. I tried attaching the condition "MenuMode 1077 == 1" to the bonuses in the ability, however it seems MenuMode just doesn't work as a conditional function.