Show and/or Hide elements after the timer runs out

Currently i want something like this:
When button is pressed, it makes a shape appear and start a 30 second timer, when the timer runs out it hides the original shape hide itself and make a different one appear.

Would that somehow be possible to make?

Here’s some screenshots possibly explaining my idea better:

  1. Clicking the button “Panic Button”
  2. When the button is clicked, it makes this shape appear and it starts a 30 second timer in the background:
  3. When the timer runs out, it hides the text and makes a new one appear:

Something like this?

Here is the public editor link:

Yes, exactly what i wanted. Thanks!