Hi, I am making a 2-player platformer/shooter, inspired by the web game Gun Mayhem, and I have (copied) a movement and jumping script, and one of the two players controls both the players' jumping movement. In other words, when I tap the up arrow to control player2's jumping, both the sprites jump, despite the fact that I have set ‘w’ to make player1 jump. I have quadruple-checked the scripts to make sure I haven't made a simple mistake, but I'm sure it's all fine. Could someone please help me?
The game: https://scratch.mit.edu/projects/207939249/
EDIT: Nvm, I found the problem