Multitarget strategies are essential in addressing complex diseases, yet developing multitarget-directed ligands (MTDLs) is particularly challenging when aiming to engage multiple therapeutic targets across different tissues. Here, we present a molecular transformer strategy, enhancing traditional MTDLs. By utilizing esterase-driven hydrolysis, this approach mimics the adaptive nature of transformers for enabling molecules to modify their pharmacological effects in response to the biological milieu. By virtual screening and biological evaluation, we identified KGP-25, a novel compound initially targeting the voltage-gated sodium channel 1.8 (Na