so i have tried doing this in a localscript because for now i am making it local until it actually spawns a part then i will make it fire an event later and make the server create it instead of the client
--localscript
game.Players.PlayerAdded:Connect(function(plr)
local Mouse = plr:GetMouse()
local cloth = game.ReplicatedStorage.Cloth
cloth.Position = Mouse.Target.Position
if Mouse.Button1Down then
cloth.Position = Mouse.Target.Postion
cloth.Anchored = true
end
end)

6 comments
use local variables
Why does that matter out of curiosity? And I just realized that I read his question completely wrong, will change the script.
alright this worked tysm ill be converting it to FE later so i might need help with that idk
I tried including the part constantly moving the with mouse until placed but it kept climbing up the Y axis, if its important though I could probably find a solution.
if you can yes that is what i was going for
Did my best.