Script that spawns one item per item in a table isn't quite doing it properly, could use some assistance

Firstly, sorry for the late response, I just opened the DevForum and saw that you replied. I haven’t noticed such thing when I was testing the script, I probably didn’t realise. Glad you made it work at the end of the day, haha.