Hello everyone. Today I encounter a very strange thing with :lerp()

Here's the script:

local CFrameLerp = clone.Torso.CFrame:lerp((clonett.CFrame*CFrame.new(0,1,0)),i) clone.Torso.CFrame = CFrameLerp wait() local CFrameLerpDown = clone.Torso.CFrame:lerp((clonett.CFrame*CFrame.new(0,-1,0)),i) clone.Torso.CFrame = CFrameLerpDown

So, what's weird about this? Yes, the first line: clone.Torso.CFrame = CFrameLerp works just fine. Now, the second line: clone.Torso.CFrame = CFrameLerpDown doesn't "lerp", but instead act like a CFrame.new() command. Anyone have any idea and what's the solution to this?

2 comments

0

sorry the lines of the code is broken

0

and :Lerp also didnt work