Hello. I’ve got code here that is supposed to face a Part called “Target”
while engineon do
local start = script.Parent.Base.Motor6D.C1
local finish = CFrame.new(script.Parent.Base.Motor6D.C1.Position, Vector3.new(Target.Position.X, script.Parent.Base.Motor6D.C1.Position.Y, Target.Position.Z))
script.Parent.Base.Motor6D.C1 = start:lerp(finish, 0.15)
wait(1/60)
end
I’ve actually got another question. I used the toObjectSpace but instead put the Motor6D.C1 inside the bracket, since I using the Part0 CFrame * Motor6DC0 causes it to be fling. It not stays centered, but it spins eternally.
EDIT 1: Nevermind, i fixed it.