local ting = false --debouncer
function onClicked(player)
if not ting then --debounce check
ting = true--activate debounce
local stats = player:findFirstChild("leaderstats")
if stats then --If moneyholder exists then
local cash = stats:findFirstChild("PartsClicked")
cash.Value = cash.Value + 1
end
ting = false --remove debounce
end
end
script.Parent.MouseClick:connect(onClicked)
its supposed to give you cash but it no work

1 comment
Why did this get -1 reputation?!