SCRIPTING HELP: Reworking Gravity

So I’ve got a new Ability for Sigma, but right now only part of the effects are functioning.

Brief Overview:
Gravitational Crush: Ability 2 + Dmg Primary = Smash into ground (reworks gravity)

What I’m looking to do is get this to act like a miniature Gravitic Flux, Ability 2 (Accretion) causes enemies to float upwards, comboing Primary Fire triggers instantaneous Gravity changes, smashing his targets to the ground for 60dmg.

Unfortunately the script right now is extremely buggy, and can often damage anyone who just simply happens to move too quickly…

There’s got to be a better way to write this effect, lol! Thanks for the input guys, you’re awesome!!!