How do I make Units follow the player?

I want to be able to equip a unit and have it follow me, this can be seen in most tower defense games like Anime Last Stand, Anime World Tower Defense, etc

1 Like

If you just want a unit to follow a player, you can just use Humanoid:MoveTo() and set it to somewhere behind the player position every second or so.

Is there a specific question besides the title?

I don’t think that’s what those games do. I want the Unit to be behind the player and follow the player smoothly

1 Like

Okay, then you can use AlignPosition and other physics controllers to do it. Or you can just use a RenderStepped loop to set the CFrame. Those are practically the only options.

1 Like

Alright I try those methods, and see if they work

Use Humanoid:MoveTo() with Runservice.RenderStepped. If you just set the CFrame then you will have to play the walk/running animation manually which might not sync with the character movement all the time.

I am doin it in my game.