I Tried this command in a command block hooked up to a redstone clock, but it did not as intended:
/testfor @p {OnGround:0}
It Keeps Saying "Player did not match data structure"
I thought that If I jumped, it would activate the comparator by the command block.
Instead of typing {OnGround:0}, type {OnGround:false}. That should activate the comparator.