Why Is This Loop Behaving Weirdly Scripting Support Developer

Why Is This Loop Behaving Weirdly Scripting Support Developer