I want to go to a 4-year university but my school couldn't get me the foreign language credits

Agree with @Lindagaf that your guidance counselor should note the situation in your LOR.

You also need to pay attention to finances in creating your application list. Run Net Price Calculators. Your ability to get loans as a student will be very limited.