local C1 = script.Parent.Parent.Parent.Pos2.CFrame.Position.Y - script.Parent.Parent.Parent.Pos1.CFrame.Position.Y script.Parent.Parent.Parent.Clicker.ClickDetector.MouseClick:Connect(function() for i = script.Parent.Parent.Parent.Pos1.CFrame.Position.Y, C1, 0.1 do wait(0.1) script.Parent.Parent:SetPrimaryPartCFrame(CFrame.new(script.Parent.Parent.PrimaryPart.Position.X, i, script.Parent.Parent.PrimaryPart.Position.Z )) end end)
Im not quite sure why this doesn't work, it is rotating the opposite direction, even though I specified POSITION, and moves the same speed, even if I change the wait() time in the for loop.