How do i make a model look to a part with tween

i’m making a tower defense game and i’m working on the enemy system, and i want to make it look at the waypoint.
Is there any way to do this?

1 Like

If you’re trying to rotate an enemy NPC to look at a part you can also use the :lerp() method which does pretty much the same thing.

local NPC = workspace.Enemy --change this to your NPC
local WayPoint = workspace.WayPointA --Change this to what your own waypoint
local UpdateSpeed = 0.5
NPC.HumanoidRootPart.CFrame = NPC.HumanoidRootPart.CFrame:lerp(, WayPoint.Position), UpdateSpeed / 2)

it worked, but is there any way to make the enemy always be on top of the waypoint?