Script for addition

Script for addition

HI all,

Can i get a little help pls?

I need a Script that will do addition to Sub Totaal for every "Add new record"