Here is my code:
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RemoteEvents = ReplicatedStorage.RemoteEvents
local BurgerClicked = RemoteEvents.BurgerClicked
local CoinAdded = RemoteEvents.CoinAdded
local tool = script.Parent
local leaderstats = game.Workspace:FindFirstChild("leaderstats") -- Finds leaderstats
local Debounce = false
tool.Activated:Connect(function()
if Debounce == false then
Debounce = true
BurgerClicked:FireServer()
CoinAdded:FireServer()
wait(.25)
Debounce = false
end
end)
tool.Handle.Size = leaderstats.Points.Value -- Tool grows as player points increases?

1 comment
you will also want to adjust the grip on the tool so that you are holding it properly