Hey, so the title says it all " Attempt to index nil with 'Position' "
So, whenever the part gets farther away then the speed of the increment(0.1) goes faster... But It won't work, any solutions?
Code:
Move.MouseDrag:Connect(function(Face, Distance)
Distance=math.round(Distance/MoveIncrement)*MoveIncrement == 0.1 / Part - Root.Position.Magnitude
lib.SetPos(OldCFrame + (Vector3.FromNormalId(Face)*Distance))
Highlight.FillTransparency = 1
Highlight.OutlineColor = Color3.fromRGB(20, 11, 165)
end)

1 comment
Oh hey guys, I forgot to add .Position in line 2 that's where the problem starts