Hello! I want to make this button update by 1 every time I click it. I don’t know how to script so please bare with me. Currently I have this. (localscript inside of the TextButton)
local Input = game:GetService("UserInputService")
local function onInputEnded(inputObject,)
if inputObject.UserInputType == Enum.UserInputType.MouseButton1 then
script.Parent.Text = "You clicked 1 time"
end
end
Any help is appreciated. Thanks!