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

Can someone help me fix the Laggy movement of this part?

Asked by 6 years ago

As it moves up, it does not look smooth, and I tried making it move back down but "0,0,0" just restarted it in the default position, any help?

part = game.Workspace.Part


for i = 0,100 do
    part.Position = Vector3.new(0,i,0)
    wait()
    part.Position = Vector3.new(0,0,0)
end
0
I don't know how to make the part run "smooth", but the reason the part goes to default is because you're resetting it to point 0,0,0 after the wait(). User#20279 0 — 6y
0
How about the movement why it is not smooth Scxript 0 — 6y
0
Use Tween to fix it ,my friend. arshad145 392 — 6y

Answer this question