This does not take away gravity but it seems like it! To activate "less gravity" activate the command block. You will get a repeating command block.
Activate this and you can jump super high, be able to fly higher with an elytra, and jump incredibly high with your slime blocks! If you don't want it any more just
break the source or the command block. This is my first command on here. Enjoy :)