Forum:Koa'ki Meiru + Ectoplasmer?

What happens when you have the effect of a Koa'ki Meiru monster and Ectoplasmer activating at the same time? Does the monster's own effect destroy itself at the end phase or can you use ectoplasmer's effect to tribute it at the end phase. Which effect would happen first?