So i'm trying to make like an explosion camera shake and i'm trying to invert the magnitude between the explosion and nearby players but i don't know how to do it? I'm kind of confused is this the way to do it or?
math.floor(math.abs(math.abs((v.Character.Torso.Position - ExplosionPart.Position).Magnitude)*-1)/5)
If your game is set to R6, this should work
1/((v.Character.Torso.Position - ExplosionPart.Position).Magnitude)