1. He will utilize a Raycast from the Attack script to locate the Interface of 'IHit'.
2.The Interface will reside in the Hit Detection script, where it will process the data to determine if the owner can be hit and the amount of damage inflicted.
3. Initially, it will verify the defense status.
4.If he initiates his defense within the specified time limit, he will effectively counter the attack; otherwise, he will solely focus on defending against it.
5. If the owner fails to defend within the correct timeframe, they will become vulnerable
6. If the owner is vulnerable, this script will assess the current element the owner possesses and the element with which the attack occurred.
7. Depending on the pre-established resistance, the owner will sustain damage.