haven’t you tried giving the player a stat (set it to how much jumps you want the player to be able to do) and when you jump, the stat goes down, then when you touch the ground your jump amount gets reset back to its original amount (you probably don’t want to fix this anyways)