Scriptname SampleScript Extends ActiveMagicEffect Spell Property aaaSpellPowerAttackFX Auto Actor MySelf Bool PlayedPowerAttackFX Event OnEffectStart(Actor akTarget, Actor akCaster) MySelf = akTarget RegisterForAnimationEvent(MySelf, "preHitFrame") RegisterForAnimationEvent(MySelf, "HitFrame") EndEvent Event OnAnimationEvent(ObjectReference akSource, string asEventName) if asEventName == "HitFrame" PlayedPowerAttackFX = false else if !PlayedPowerAttackFX aaaSpellPowerAttackFX.Cast(MySelf) PlayedPowerAttackFX = true endif endif EndEvent