Somebody who leaves something by will or leaves a legacy; testator.
From lēgō (“leave or bequeath as a legacy”) + -tor.
Practice speaking and memorizing "legator" and many other words and sentences in Latin.