I need to add my robot auton pid control i have 6 motor drive train and i do block code can someone help?

i tryed to do code but i needed to change whole code to script i couldnot do it soo can someone help me do it in block code i have inertial sensor and 6 motor drive train

Go ahead and read the George Gillard PID document. And then take a look at some block code examples on here, just use the search bar.

Let us know if you have specific questions. A PID is a simple but useful tool, but if it could take a bit to understand.