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
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
This discussion is preserved as it was. New answers, comments, and votes are closed.
4 comments
can you clearly explain your script? It doesn't make describe anything but a mouse detector is being clicked
^
The script plays an audio when touched, I want to make the player click the clickdetector with a tool out.
Use UserInputService to check if you clicked, then check if the Mouse.Target is equal to the part with the click detector.