The simplest tutorial yet, but one that still gets frequently asked about. This is simply how to hide a row with a checkbox. The script itself is a single active line long!
Script:
function onEdit(e){
if (e.range.columnStart != 8 || e.value != “TRUE”) return;
SpreadsheetApp.getActiveSheet().hideRows(e.range.rowStart);
}