Press on the screen to enable/disable AI mode. Arrow keys to drive when not in AI mode. Feel free to remix and add your own tracks! There is drifting, and you can change the "driftiness" with the drift factor variable. (higher number = more drift)
I used ChatGPT to port one of my old unity driving projects into scratch. (This is all my work. ChatGPT simply helped me port it from C# to scratch pseudocode) I then added the whole AI and made some tweaks to the actual driving style. You can change most of the "For all sprites" variables to tweak the car to your preferences.