It worked on Genocide Frisk/Chara. I guarantee that very, VERY few people who played the genocide route defeated Sans on their first try. It’s a ridiculously hard battle, and chances are, you’ll only end up ‘winning’ because of savepoints and muscle memory.
Besides, Sans CAN teleport, so he...