The lap counter seems to be wonky... idk
This uses "off-brand PID line following". If you are curious about how it works, ask in the comments! I will give you an explanation. Vode, would you like to switch how the racing AI works to be more like one of these? They seem to work better, although they don't have an Attack Mode.