Perpetual motion machine

Something moving has energy....
I was just thinking... perpetual may not be the correct word to use... but what "IF"....
a guy makes a motor that is turned by magnet force using opposite polars on the outer walls of the casing. The crankshaft with wound coil wire and a flat pad would rotate till the bearings at the end of the crankshaft wore out. How much power would be to the size of the unit. One could turn a generator by belt in the middle of the forest and it would make power to run a transmitter, not be detectable, and be virtually noiseless. :realcrazy::realcrazy: Now my brain hurts