Answered by
8 years ago Edited 8 years ago
You're almost there!
To detect when a player does a Left-Click with tools, we can "listen" for it with the tool.Activated
event! This event fires every time a player Left-Clicks with the tool equipped.
In your code, this would be...
Also just a little extra, I like to construct my listening events like this, but you can keep it your way.
1 | Tool.Activated:Connect( function () |
Either way is fine, this is just my preferred way. You can try it out for yourself too!
Any problems? Just comment below!