I'm thinking you could actually set the platforms themselves to spawn the traps. Maybe you could have each platform generate a number on start of layout and if that number falls into a certain range a certain kind of trap is spawned along the platforms lowest y value at a random X value.