How to make Motor6D rotate a model?

So, I have tried making a model rotate by Motor6D, I used made the center part, and welded it with the parts in the model, however, It doesn’t work.

Does anyone know how to successfully make it rotate with Motor6D?