6DOF Robotic Arm using Arduino Uno and 6 Tower pro Servos (MG996R )

Thank you for the replay. This is the schematic of the my circuit.

I have brought 6 motors. But 3 of them works perfectly. But the rest moves a continuous rotation. I don't know why the same series servomotors behaves differently for the same code.