I just try if Click Available is more than 0 , it will add 1 score. It should be 0 but I got -1.
Here is button script.
script.Parent.MouseButton1Click:Connect(function() if script.Parent.Parent.TextLabel.Value.Value >0 then script.Parent.Parent.TextLabel.Value.Value = script.Parent.Parent.TextLabel.Value.Value - 1 end end)
And here is script that set text to click available
while true do script.Parent.Text = "Click available: "..script.Parent.Value.Value wait() end
I have a NumberValue in TextLabel. Its name is "Value"