var total as number total = 5 var x as number x = 0 while (x < total) x += 1 perform hero.assign[Classes.S2Gestalt] loop