My Cube Stereo 140mm 650b Blah blah blah is doing the same. Had new by, taken stuff out and out back in, oil, cleaned etc. Very loud snick noise. When I’m not pedalling you don’t get the noise, as soon as the pedals turn there is an issue. No more MTB for me until sorted. Will change shock bush first and go from there. Has to be more than that though and sounds as if the noise is lower down. Maybe linkage/bearings around BB.