Been using this system for a long time and it works well in my campaigns...
Roll 4d6 for each ability score (Strength, Dexterity, Constitution, Intelligence, Wisdom, Charisma), total the three highest die
Reroll if: no scores are 15+ OR three scores are 9 or less
Add one bonus: switch...