If a player is holding a tool and clicks what would that function be?
Tool.Activated
is an event that fires when the player clicks with their Left mouse button while a tool is equipped.
https://developer.roblox.com/api-reference/event/Tool/Activated
If this helped, make sure to upvote/accept it!
Tool.Activated
would be the proper method to use, yet I believe it's been deprecated, to just do something like this is that essentially is the case
Tool.Equipped:Connect(function() Cursor.Button1Down:Connect(function() print("Clicked") end) end)