Imp = script.Parent
Okm8 = game.Workspace:WaitForChild("Okm8")
Imp.ClickDetector.MouseClick:connect(function()
Imp.ClickDetector:Destroy()
for i=-1329.9,-1325,.1 do
game.Workspace.Okm8:MoveTo(Vector3.new(i,.5,237))
wait''
end
end)
Imp.ClickDetector.MouseClick:connect(function()
wait(2)
Instance.new("ClickDetector", Imp)
end)
✓ ANSWER ACCEPTED
How to make a Vector3 moved part go back where it was?
1 answer
✓ Accepted answer
CFrame
When you move a part by setting its Position, it moves to the closest position it can without clipping through parts. To avoid this, set the CFrame.
But that's not what I meant!
I'm the queen of the forums, and because you didn't provide description I have decided that is what you meant. Provide description next time.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
What is this