📅  最后修改于: 2022-03-11 14:59:26.100000             🧑  作者: Mango
-- 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)