AGS does not allow to create/delete object dynamically other than DynamicSprite and DrawingSurface.
Haven't seen Kweepa's script, but those things are usually done either by reusing a limited number of graphical objects (like GUI buttons, Room Objects or Characters for instance), or storing objects data (coordinates) in your own arrays and drawing them manually on screen.