Effects and Setting Player Gravity

So i have been trying for a while to get certain players to have no gravity
but to no effect not much point putting the code cause it does not work