I'm trying to set up a two players mapping keyboard input code, and the one I'm using only let me code for player two.

I took a while trying to understand the logic behind this code for my two-player fighting game. however, it seems like I don’t know what went wrong, but when I’m trying to put in a code for playing one it will always affect player to actor by that code, so I’m just looking for something different.
this is the video for the setup that I’m using.

I went to the guy Discord looking for help but he told me (in a very nice way) that this Discord is for people who need help for his assets from the market not helping people with code.