Use sprite coordinates. (I'm assuming this is a side-scroller game) Make an event that says "If player X is equal to Spike X, Spike animation "Fall" plays.
If Spike animation "Fall" is playing and Player collides with Spike, Player is destroyed.
That's the basic logic behind this particular event. Explore the sprite events and you will find the conditions in each one that will allow you to do this. There's never just one way of doing things, you can cause this same effect in many different ways. When you get the basics down you will find different methods that best suits your development logic.