I usually use userinputservice and then check when the mouse has been clicked. But I saw you can also use .activated
Which should I use and why?
Unless you're somehow forced to use UserInputService
, you should use Activated
. Mainly because it was made for this purpose, and it can be used on the server, so you have to spend less time adding checks to see if the tool was actually used or if it was an exploiter firing your remote.