Answer:
It'd never work as the first law of physics is that the law of conservation of energy. It states that energy is often preserved. To keep a machine moving, the energy applied ought to stay with the machine with none losses. As a result of this reality alone, it's not possible to make perpetual motion machines.
Hope it helps!<3