@sid4 Try adding more than one collider. Have one collider that is trigger, and one collider to collide with objects.
An even better option is to use the OnCollisionEnter2D function. From this script, I can’t quite tell what you are trying to do, but I think this function will work well for you. OnCollisionEnter2D works the same way as OnTriggerEnter2D, except instead of triggering when something enters the collider, it triggers when something touches the collider. Again, I don’t know if this will work with what you are doing, but it is worth a try. BTW your script formatting could use a lot of work
I had a similar situation and resorted to having 3 triggerzones. at first just one is active and that triggers the first animation, but that ALSO enables the second triggerzone. sounds messy but
1st zone OnTriggerEnter plays animation 1 and enables the collider on triggerzone 2, on triggerexit 1
2nd zone OnTriggerENter plays animation 2 and enables the collider on triggerzone 3
need to disable the trigger or the script on each zone after it has been used, or destroy the trigger all together if you are done with it
ontriggerenter to play animation
or actually OnTriggerExit may be better to enable the next trigger zone
ontriggerstay or ontriggerexit to enable the next triggerzone and destroy or disable the previous triggerzone. here is a sample of what I would have on the first triggerzone