C# Script for player combat Functions for checking each attack as well as finishing off the attack to transition to another state.