I have this basic script that's meant to move a model from point A to point B. Here it is:
X=script.Parent while true do wait() for i= 1,10 do X:TranslateBy(Vector3.new(0, 0, -464.487)) wait(1) end for i= 1,10 do X:TranslateBy(Vector3.new(0, 0, 464.487)) wait(1) end end
What I need to script is a model moving a moderate speed, flying over to one place and then shifting back to its original position. Instead, my script teleports it 4 times, eventually making it's destination, and teleporting back the same way. May someone help me fix this script?
Did you know that you can tween parts not just GUI objects?
Look into it here.