Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How can I fix a script make a gui showing the value of a NumberValue?

Asked by
lamgogo 56
3 years ago

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.

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 daokhiethy 25 — 3y
0
IDK,it didnt show anything in the ouput so im like a blind boy now lamgogo 56 — 3y

Answer this question