Changing a objects mesh before spawning

How would I go about changing an objects mesh before spawning it?

BUMP