Player 1 uses w a s d. S is to attack for player 1 Player 2 uses the arrow keys and down arrow is to attack for Player 2
I got the idea from the game 2 player battle so don't get mad at me for making this game I took inspiration I didn't copy all scripts are by me.