So, I want to make an airport and I need a baggage system. What I want to happen is when you click the detector, the item is removed from your inventory and placed on the carousel, then on a click of a button, the carousel moves the item into a storage area.
How do I get a click detector to place a model?
1 answer
To get a click detector to place a model you would have to first create a ClickDetector.MouseClick function. Then inside the code locate the player that clicked it and remove their tool they have, you may also have to search their character. Once you've done that and removed the tool you will need to set the parent of the tool's handle to game.Workspace and then set the position to on top of the carousel. Make sure you don't set the tool's parent to game.Workspace or they'll be able to pick it up, set the tool.Handle's parent to game.Workspace.
Also, since this is a request on a non-request site, I just gave you a howto but no script until you have a go yourself.
2 comments
Oh, I was going to post an answer for this but when I got on there was already an answer. Good contribution! ;)
Thanks!
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
This is not a request site. Provide code that you are having trouble with, along with any errors and explanation of what it doesn't do that it should.
I never said that I was requesting it. "How do I get a click detector to place a model?" was the question...