I have a script:
script.Parent.ClickDetector.MouseClick:connect(function()
local goal = -125.6, -214.86, -386.6
while script.Parent.Position ~= (goal) do
local current = script.Parent.Position.Y
local new = current - .2
script.Parent.Position = Vector3.new(-125.6, new, -386.6)
wait(.1)
end
end)
For some reason, instead of slowly moving down, it teleports higher and stays there.

7 comments
If you don't know what lerp does, basically "start:lerp(goal, i)" gets the position that is i% of the way from start to goal with i being the decimal percentage.
It still jumps up
ive tried it in-game and it worked fine. are you sure you made goal a Vector3 like I said? Otherwise it will probably jump up
I literally copied and pasted it.
Found the issue. There are two anchored blcoks next to it. Removing them fixed it. Gonna experiment to see how close they can be and not interfere with the script.
Is there a way to adjust how long it takes for the platform to move. It's a bit too fast.
yeah you can just change the .01 part of the loop