Is there any way to improve this part generation script?

Avoid using the parent argument with instance.new.

Also this while loop can be changed to a for loop.

1 Like