So I've wanted to make a tool that when clicked while holding it, a leaderstat would change, how would I exactly do this?
Make a localscript in the tool and you could use this script:
local Tool = script.Parent local Player = game.Players.LocalPlayer local Leaderstats = Player:WaitForChild("leaderstats") Tool.Equipped:connect(function() Tool.Activated:connect(function() Leaderstats.SomeStringValue.Value = SomeValue end) end)