Click to place a tool

Hey there!

I’m trying to write a script that when you have a tool held out and you click on a certain spot, it will place it down in that certain position (pretty much the opposite of clicking to pick up a tool.)

How would you go about doing so?

6 Likes

Well, you can try to connect the tool to an .Activated event, remove the tool from the player’s character, get the player’s mouse and use Mouse.Hit returning the CFrame where to put the tool’s CFrame to.

2 Likes

Actually, I’m pretty sure I know exactly how to do everything else BESIDES check if the right tool is equipped. Do you have any way to write that? ( I’m going to be using multiple tools that can be placed at the same spot, so I have to check what tool it is. )

1 Like

Thank you very much! Can’t wait to put this in action.

1 Like