You fixed it! A suggestion I have is that you might want to make it wait a second after the kill if looting for a specific item is enabled. That way the script checks if the item dropped and picks it up. Otherwise, the script runs back haphazardly mid fight to pick up the item and looks really weird.