Block Settings to Stop Crouching?

Would that still work even tho Im using the collision Box method?