I am trying to create blocks that can be moved with the cursor similar to Lumber Tycoon's system. Can anybody explain how I go about this? (I am only asking for ideas, not script.)

Here is what I have come up with so far, but I don't know what to do next.

---Variables
local cube = script.Parent
local clickDetector = script.Parent.ClickDetector
local outline = script.Parent.Outline
local bodyPosition = script.Parent.MovableCube.BodyPosition


---Click
clickDetector.MouseClick:Connect(function(playerclicked)
	print(playerclicked)
	bodyPosition.Position = playerclicked.Character.PrimaryPart.Position
	bodyPosition.MaxForce = Vector3.new(4000,4000,4000)
	print("worked")
end)


---Hover
clickDetector.MouseHoverEnter:Connect(function(Enter)
	for count = 1, 10, 1 do
		outline.Transparency = outline.Transparency - 0.05
		wait(0.025)
	end
end)

clickDetector.MouseHoverLeave:Connect(function(Leave)
	for count = 1, 10, 1 do
		outline.Transparency = outline.Transparency + 0.05
		wait(0.025)
	end
end)