I know its possible but I cant find anywhere on the roblox wiki about it.
You can't find it on the wiki because this isn't a simple thing to do. As with any scripting problem, one must break it down into smaller steps and sometimes break those steps into even smaller ones until each step is something that you can accomplish (sometimes with the help of the wiki or tutorials). In this case, some of the larger steps (that still need to be broken down into smaller ones) that you could use are:
camera:ScreenPointToRay
and workspace:FindPartOnRay
or other Ray functions, or simply use Mouse.Target.)If most of this doesn't make sense, I would recommend starting smaller. A simpler problem that would get the same thing done is allowing them to click an object to select it and then click on the floor space where they want to move it. You could even use ClickDetectors for this purpose so you don't have to handle raycasting.
Closed as Not Constructive by Link150
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?