"Building" tool help with cloning part and setting it as mouse position

The part moves with the mouse in a local script.
There’s a part called “mousepart”. (the part that moves with the mouse)
(I’m using a remote event)
I’m having trouble cloning a union from replicatedstorage and it hitting the mouse’s position.
The union spawns in the middle of the baseplate.
How would i fix this, so it would be able to spawn at the player’s mouse position?

Local script:



image

Server script:
image

I would appreciate any help.

Thank you.

A gif:
https://gyazo.com/47ca792c8f6f9d31b4ce9a0aa951a1d4

You’re firing the remote with Hit but you never update Hit with the mouse’s position

-- send position and orientation of preview part to the server
script.Parent.spawn:FireServer(RotatePart.CFrame)
-- on server
script.Parent.spawn.OnServerEvent:Connect(function(player, Hit)
	local item = game.ReplicatedStorage:FindFirstChild(script.Parent.Name)
	local clone = item:Clone()
	clone.Parent = workspace
	clone.Name = player.Name .. "'s barricade"
	clone.CFrame = Hit
end)

I tried to get the mouse’s position instead of the CFrame, thank you.