I have a scripted tool that lets me create parts then move them as accordingly to my desire but I want to be able to allow dragging like real functional building tools. Let's say I have a part which is one of the spheres (that represents forward), how would I make it that if I wanted to drag it, it would keep moving it?
Here is a basic idea of my script, it should be simple to understand:
local part = Instance.new("Part")
part.Position = Vector3.new(0, 5, 0)
part.Size = Vector3.new(2, 2, 2)
part.Parent = workspace
local sphere = Instance.new("Part")
sphere.Name = "LookVectorSphere"
sphere.Position = workspace
local increment = 1
local function movePartForward()
part.Position = part.Position + (part.CFrame.LookVector*1)
sphere.Position = sphere.Position + (part.CFrame.LookVector*1)
end
This is just an example to make it clear and easy of what I'm asking so I will only be asking for that one sphere example I gave.

2 comments
Well If you don't know something then Google is your friend as always. I see that you've added "PlayerMouse.Hit.Y" which I did not add for a reason. Whenever the Part is being dragged it comes to the position of the camera. Basically like a following NPC. That is why I used a number instead of Mouse.Hit.Y
No. Its just because you used google and was a lazy sack of shit and just wanted reputation.