When I use Mouse.Hit.p the part that was created keeps moving towards my camera?
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
mouse.KeyDown:connect(function(key)
if key == "1" then
--//Magnet Release\\--
if script.Parent.Jutsu.Value == "SandManipulation" then
local MoveableSand = game.ReplicatedStorage.Test:Clone()
MoveableSand.Parent = game.Workspace
wait(0.1)
mouse.Button1Down:connect(function()
for i = 1, 1000 do
wait(0.01)
MoveableSand.Position = mouse.Hit.p
end
end)
end
Please help?

2 comments
It's the correct behaviour of Mouse.Hit.p; you create the part in the mouse's position, and the part's position becomes the mouse's position. You could try using a condition to ignore the part that was created.
also mouse.KeyDown is deprecated and works unreliably, use UserInputService instead.