Learning inheritence, why isn't this working?

I have a script called Attack and it has a TowerStats variable called towerStats (TowerStats is another script). I have another Script called BaseInstantAttack and it inherits from Attack. When I try to use towerStats in BaseInstantAttack to get the TowerStats script it does not let me, and since I will have multiple scripts need to use TowerStats that inherit from attack I don’t want to have to copy paste that line into every single one. Sorry if this is obvious im new to learning inheritence.

201838-screenshot-2022-11-14-120619.png

You’ll need to make towerStats, public or protected.

You will also need to put towerStats in a function call, not just exist as a BaseInstaceAttack property (and that’s not even a property atm).