Such script is very simple, you should look at the tutorials to learn how to do it yourself.
Anyway, here it is:
function clearRange() {
//replace 'Sheet1' with your actual sheet name
var sheet = SpreadsheetApp.getActive().getSheetByName('Sheet1');
sheet.getRange('B7:G7').clearContent();
}