How to fix npc issue

Hi, trying to make combat system where enemies react to your jumps and react accordingly. However, the npcs are jumping whenever you jump close to them, this isn’t anything that I have programmed, jumping is turned off but for some reason they do that. I have tried using get state to see if they are jumping or not but it turns out that they enter freefall. When i turn off all collision the same thing happens.