how to make a tool detect a click and add points roblox studio

The solution for “how to make a tool detect a click and add points roblox studio” can be found here. The following code will assist you in solving the problem.

local tool = script.Parent
local leaderstat = *wherever*
tool.Activated:Connect(function()
leaderstat.Value +1
end)

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

0
inline scripts encapsulated in