So I have a model with a primary part. I can change the CFrame perfectly. But I'm trying to figure out how to change Orientation, Here is the script I have.
local float = workspace:WaitForChild("Float1")
local targetcframeup = CFrame.new(67.761, 11.58, -12.985)
script.Parent.ClickDetector.MouseClick:Connect(function()
for i = 0,800,.01 do
local cf = float.PrimaryPart.CFrame:Lerp(targetcframeup,i)
float:SetPrimaryPartCFrame(cf)
wait(.01)
end
end)
