so i made a custom spell with the script from voiceunrelentingforce3 magic effect that knocks the target off their feet.
the problem is that when they die from the damage dealt by the spell, the knockback script won't take effect, and they'll just crumple to the ground.
is there any way to make sure the script still takes effect whether they are dead or not?