My auton keeps messing up

Then it will be using motor encoders, the drivetrain setup is very important, the gearing (which users often get backwards), wheel size etc. One measurement to be careful of is the wheelbase, see details in these posts about the clawbot.