Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How can I click a click detector with a tool equipped?

Asked by 5 years ago

Hello,

How do I use a script to properly make the player press a click detector whilst holding a tool? I found a behavior that shows that you cannot click them with a tool equipped, how do I bypass this?

My code: https://hastebin.com/otivajuhav.php

0
can you clearly explain your script? It doesn't make describe anything but a mouse detector is being clicked voidofdeathfire 148 — 5y
0
^ Fad99 286 — 5y
0
The script plays an audio when touched, I want to make the player click the clickdetector with a tool out. User#26676 0 — 5y
0
Use UserInputService to check if you clicked, then check if the Mouse.Target is equal to the part with the click detector. PhantomVisual 992 — 5y

Answer this question