How to enable/disable Gravity for a Character?

If I attach add relative location at the end of both sets, the first one effect should make the character floating around (no gravity) on other case should do nothing.

It’s worked once and my second attempt to disable/enable gravity will do nothing