I wish to achieve a clickdetector that adds on a “Click” onto a player’s stats when click. For some reason it isnt working? I’ve tried doing multiple solutions and can’t find a specific thing about this!
local function onClicked(player)
player.basicstats.clicks.Value + 1
end
clickDetector.MouseClick:Connect(onClicked)
I will be very thankful for any awnser. Thanks in advance!