Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How come it says Argument 2 is nil? (Lerp)

Asked by 5 years ago

Not sure why my code is doing this, if someone could tell me why it would be much appreciated

Error:Argument 2 missing or nil

    for j,point in pairs(points) do
        for i=0,1,.03 do
            plate.CFrame:Lerp(point.Position,i)
            wait()
        end
        wait()
    end
0
What is this code used to do sheepposu 561 — 5y
0
Move a plate along a series of points Thunder878712817 -6 — 5y
0
I've tried making it point.CFrame and other things, nothing appears to work just FYI Thunder878712817 -6 — 5y
0
You should do plate.CFrame = plate.CFrame:Lerp(point.Position, i) 1TheNoobestNoob 717 — 5y

Answer this question