Cómo hacer que un número agregue en Roblox Studio

-- LocalScript inside of the TextButton

local label = -- path to your TextLabel inside of your SurfaceGui
local number = 0

script.Parent.MouseButton1Click:Connect(function()
    number += 1
    label.Text = number
end)
Sore Swan