one thing for sure is if taiwan is attacked, the world will be in chaos
I doubt that. Will there be strains in the world economy as is characterized by wars? Yes, but chaos? I doubt that. Take the issue of Ukraine -Russia war for instance. The world didn't stand still even when things became hard being that Russia is one of the power houses that supplies energy resources to not just Europe but Africa as well, so I wonder why it will when China decides to follow through with their plans.
Worst case scenario is the US will try to involve themselves, albeit covertly, and the maybe China will try to make things difficult for the US for interfering sort of, but it may not be as strong as when Russia invaded Ukraine, I tell you.