BBC Microbit Play And Record servo Arm robot

hi guys, id like you to help me to edit either on aia or hex file to make them recording the movements of arm robot then play all movements at once by clicking a button on aia or press A,b or Ab on Microbit.
microbit-emakfun-arm-MK2-3d-print.hex (1.4 MB)
emakefun_arm_MK2_3d_print.aia (356.5 KB)