[Home](./index.md) > [bitburner](./bitburner.md) > [NS](./bitburner.ns.md) > [getTotalScriptExpGain](./bitburner.ns.gettotalscriptexpgain.md)
## NS.getTotalScriptExpGain() method
Get the exp gain of all scripts.
Signature:
```typescript
getTotalScriptExpGain(): number;
```
Returns:
number
Total experience gain rate of all of your active scripts.
## Remarks
RAM cost: 0.1 GB