What I am saying is when you equip the item, you click and it will add to your leaderstats.
✓ ANSWER ACCEPTED
How to I make a tool that gives you a leaderstat when you click?
1 answer
✓ Accepted answer
Okay, make a LocalScript and put this in your tool.
local leaderstats = game.Players.LocalPlayer:WaitForChild("leaderstats") -- Put whatever you want here (whatever the name of your currency is) local cash = leaderstats:WaitForChild("Money")
local tool = script.Parent
local function onEquipped() cash.Value = cash.Value + 5 -- Put whatever number here end
tool.Equipped:connect(onEquipped)
Tell me if this works, I'm pretty sure it will.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
The onEquipped event isn't a click.... Also use codeblocks please. And don't spoonfeed scripts liks this.
You shouldn't answer questions that go against the guidelines of this site.