Here is what I have now
The infinite loop error seems to have stopped, but now I’m getting a bug where it spawns 3 times the amount of blocks it’s supposed to (it can load the first 100 fine)