I want to move my very small model that's a mesh to the same position as mouse.hit.p by selecting a tool
COMMUNITY QUESTION
How can i move my model to the same position as mouse.hit.p?
2 answers
This might be what you are looking for!
workspace.Model:MoveTo(Vector3.new(1,2,3))
or in your case,
workspace.Model:MoveTo(mouse.hit.p)
well since you're using a local script you can do this, first you gotta define mouse, and lets say x is what you're trying to place at the mouse
local mouse = player:GetMouse()
local x = Instance.new("Part")
x.CFrame = mouse.hit.p
this should be what you're looking for, you could also clone the part in the script or whatever you're doing
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
are you using a local script or a server script
local script