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)
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.