So basically, I want to change the running animation of a player when a key is pressed, and I want to revert back to the old animation if and only if the key is pressed again. I have tried doing this through If/Else statements, taking the entire animation table and changing it, nothing worked. Would appreciate it if someone could clarify how to do this.