Youtube user MeMyselfAndMovies created this ingenious candy machine made out of lego when he was 12 or 13 years old. It has two coin slots one for M&Ms and another for Skittles. If you try to trick the machine using a coin of smaller value you get no candy and the machine keeps the coin. It even has locks and secret compartments!
Watch the video below where he explains how the machine works.