Hey Karl.
You’re not resetting “i”, so it generates a number on the first loop, then for each subsequent loop, the bot sees that “i” already <= 5 and doesn’t proceed to enter that do while.
Resetting “i” to 0 before the embedded do while should get you past this.
You’ll also need to do the same and reset strBuilder at the same point otherwise it results in 5 numbers being appended each loop.
Cheers,
Josh