How do i make things still clickable while holding tools

I’m currently trying to make it so that when a player clicks a Cup Holder while holding a Cup, it holds it.
The problem is that when your holding tool click detectors are no longer clickable. I have tried searching for the answer but could not find it. (hopefully, this is the right section to post in.)

Roblox does not allow for ClickDetectors to work with a tool in hand. Reference this post to see how you can make a custom ClickDetector.

Or you could make a custom Tool instead too!

1 Like

Yes, you could (to my knowledge), but it cannot use the “tool” instance.

You could make a model be welded to the players limbs.

1 Like

Yep exactly, that is my point. I don’t like Roblox tools so I like making my own, but a custom click detector works too

1 Like

Have you tried looking into the Mouse instance?
You can find the event for when the mouse is clicked on the link I have attached bellow and use mouse.Target to reference the object the mouse clicked on and an if statement to check if it has the same name as your cup holder. I might have written a few things incorrectly as I am currently writing this on the developer forum so here is a link to the page explaining more