I want to make a Gui,and i have a local script in it:

    local Value = script.Parent.Value
    local Text = script.Parent
    Value.Changed:Connect(function()
    Text.Text = "Wrong:"..Value.Value
     end)

And another script increase the Value:

    script.Parent.MouseButton1Click:Connect(function()
    local Value = script.Parent.Parent.TextLabel.Value
    Value.Value = Value.Value + 1
    end)

I don't know where is wrong in those script,there is nothing in the output so pls help me.

2 comments

0

what are u trying to do, u have a button and everytime u click it increase the value of something, and the value of something is display on the text label right? where does the script broke

0

IDK,it didnt show anything in the ouput so im like a blind boy now