Hey , I am trying to make an attachment into a position of mouse on a part , but of course as we know that if we parent the attachment to the part, the mouseposition = mouse.Hit.Position
will not be at that position even if the part is at that position , but it will go to that position relative to the part.
How would I fix it and what method should I use for getting the position of the mouse.?
mouseposition = mouse.Hit.Position
local mouseposition -- some position.
local attachment = Instance.new("Attachment",part)
attachment.Position = mouseposition