How to make a blackhole effect

I want to know how to make a blackhole effect where a part pull players or objects around it with a set range and specific force.
I ask a same question a week ago and no one responded.

The easiest, and most classic way of doing this is to give each object you wish to move a BodyPosition, though you could also use other methods such as AlignPosition, or even CFrame for anchored objects.

BodyPosition
AlignPosition

Now the general algorithm would look something like:

  1. Scan for parts/players/objects you want to move
  2. Apply either a BodyPosition or AlignPosition
  3. Success!

In the case of CFrame:

This is a bit more complex, but generally you could use an interpolation to achieve this, tweenservice might help you with that.

I’m not going to go into full detail on any of these methods, but hopefully that should point you in the right direction.

4 Likes