How can I make projectile lock onto player using BodyPosition

I’ve been trying to figure out how make a part lock onto a the players position using BodyPosition also I want it to lock onto the closest player. Any help greatly appreciated!!

You can use AlignPosition or a LineForce to make it lock on. To make it find the closest player you just have to iterate through all the players, get the position of their humanoidrootparts, and find whichever is closest to the part’s position

3 Likes