How do i get accurate pathfinding size for my car AI and somehow pathfindingcosts don't work even if there is a part that has the label as it

So uh what did i did wrong?

	local path = PathfindingService:CreatePath{
		AgentRadius = 0.75,
		AgentHeight = 66.001,
		AgentCanJump = false,

		-- New parameter --
		Costs = {
			RaceCheck = math.huge,
            Barrier = math.huge
         }
	}

AgentRadius should be the width of your car in studs and I doubt your car is less than 1 stud wide. Your Costs are fine. Have you added the PathfindingModifier to the items? If yes, then double check that you have the CanQuery property ticked.