Stat/Attribute levelling system

I, as are many using your courses to learn coding, I was just wondering if I could get any advice on creating stats ie (strength, Intelligence, Dexterity etc), that level up whilst hunting or doing certain actions, similar to the old Elder Scrolls Morrowind game, also I would like the stats to be the requirements for using the weapons, any tips or advice will be brilliant, bare in mind I am beginner, I completed your course with confidence, only a few hiccups along the way but have managed to get past them.

Idealy i want a stat system like this, whereas using things like an axe would gain me strength, using magic would gain me intelligence etc etc, using weapons would also gain weapon skill.
thanks in advance for any tips