Need help reverting my game because of AI mistake

So i tried using the ai to help me figure out how to add auto aiming with the right stick of a controller and i wasn’t vary specific which is my fault, after it does its thing i try to test it and it doesn’t work worst of all the keyboard controls stop working sense it replaced my code which i didn’t ask it to do. Before i was able to send feedback saying it didn’t work my Chromebook died… So now my game is messed up and i need to revert it because the ai auto saved…