This might be a simple issue but can't figure it out. Im trying to both stop my character from sprinting while ADS and stop my Character from jumping and Crounching while in prone position. Help

How exactly? I already have codes that specifically don’t allow my character to jump or Prone while in Crouch.these codes do not work with the Prone It’s got to be completely different way to code it.