Super good script, very useful in a lot of situations. I have a couple suggestions that might make it better for some people.
Is it possible to make it so the safe spotting feature will always be active, not just after a kill? Currently, if the player runs out of the safe spot to reach an enemy, it will stay attacking from wherever it's left auto attacking the npc, and will not return to the safe spot until it's out of combat. The player stays put until all enemies are done attacking, and I think that even when death walking the player will stop to auto retaliate if attacked by npcs, and will no longer move to the safe spot if caught in a combat loop. The script will probably work better if it ignores combat until it returns to the safespot.
Also, it seems the bot doesn't work for taking items out of the grave right now.