It’s the McLVDT, a linear variable differential transfomer, made from McDonald’s straws. The creator writes:

I made a primary coil on a normal sized straw, and made two secondary coils on the outside of the larger McDonald’s straw. Since the McStraw is large-bore (perfect for those thick high calorie shakes), the smaller straw with the primary winding fits nicely inside. The position of the inner straw can be determined by examining the amplitude and phase of the combined signals of the secondary coils, which is shown in raw form on the oscilloscope.