Script to create an objects with an emitter

HI, I need a script to create an emitter that emits objects, so that objects can emerge from the emitter and then let them deform to the environment, but I don't know anything about scripts, can someone help me?

I tried the instancer...but that replaces one object and emits that...and the problem is that those objects that are replaced don't defom and transform in their shape