I see that I messed up that script, 101 should have been 100, and then it worked.
Which shows me that the overall concept I'm trying to do can work, I probably have overlooked some script issue.
Thanks for pointing that out so I can confirm that concept of changing a variable outside of while and using it as a parameter to break while is indeed possible. I do a lot of loops within loops. I'm new to coding as GDscript is my first and only language I've been learning. So, don't know if its odd for people to use loops within loops, but it's been working up until now.