Molecular dynamics simulations of the pentamidine鈥揝100B complex, where two molecules of pentamidine bind per monomer of S100B, were performed in an effort to determine what properties would be desirable in a pentamidine-derived compound as an inhibitor for S100B. These simulations predicted that increasing the linker length of the compound would allow a single molecule to span both pentamidine binding sites on the protein. The resulting compound, SBi4211 (also known as heptamidine), was synthesized, and experiments to study its inhibition of S100B were performed. The 1.65 脜 X-ray crystal structure was determined for Ca2+鈥揝100B鈥揾eptamdine and gives high-resolution information about key contacts that facilitate the interaction between heptamidine and S100B. Additionally, NMR HSQC experiments with both compounds show that heptamidine interacts with the same region of S100B as pentamidine. Heptamidine is able to selectively kill melanoma cells with S100B over those without S100B, indicating that its binding to S100B has an inhibitory effect and that this compound may be useful in designing higher affinity S100B inhibitors as a treatment for melanoma and other S100B-related cancers.