Turning functions Autonomous coding for 6 motor drivetrain

Hello I’m trying to code turning functions for a 6 motor drivetrain in block I currently have these 2


although when I try to run either, the robot continually spins and doesn’t stop at the rotation, any idea why its happening or advice to prevent this?

Add a few “stop motor” blocks to the end.

i tried to do add the stop blocks already but it still does the same thing, just keep spinning

Not sure but maybe the reading on the inertial sensor ‘skips’ over the number in the degrees variable.
Try using an inequality like greater than, less than, etc.