How to use the Dragger instance in a custom moving tool?

1: I want to be able to use the Dragger instance to make custom tools for building.

2: I have two script made so far…
localscript:

local tool = script.Parent.Parent
local char = tool.Parent
local plr = game.Players.LocalPlayer
local mouse = plr:GetMouse()



tool.Activated:Connect(function()
	local target = mouse.Target
local pos = mouse.Hit
	script.Parent.RemoteEvent:FireServer(target,pos)
	
end)

normal script:

script.Parent.RemoteEvent.OnServerEvent:Connect(function(plr,target,pos)
	local dragger = Instance.new("Dragger")
	--code for moving a model using the provided information from the client--
end)

I looked up the dragger instance on the developer hub, but I did not get enough information to use it properly. could someone explain to me how to use the dragger instance and how I can utilize it in my scripts?

1 Like