Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Should you use .activated or just a mouse click event when using a tool?

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?

1 comment

0

Can be both, but I think the .Activated would be more accurate hence needn't to disable the script or needn't to detect if the player is equipping the tool.

1 answer

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.

This discussion is preserved as it was. New answers, comments, and votes are closed.