You could make a repeating task instead of when the player moves. It may lag depending on how fast or how many you spawn.