local tool = script.Parent
game.Players.PlayerAdded:Connect(function(plr)
tool.Activated:Connect(function()
local leaderstats = plr:WaitForChild("leaderstats")
local cash = leaderstats:WaitForChild("Cash")
cash.Value = cash.Value + 10
end)
end)
I've been working on this for hours, please help me.

2 comments
Any errors ?
^ this. What type of script is it? Have you tried adding prints to see around the code to see if it actually runs