Need help with Grasshopper Voronoi on object script

Hoping someone can figure out what the problem is with what I’ve done. Tried to copy this from a YouTube lesson. Any help much appreciated