When a button is pressed in a gui, it is supposed to add 1 to an int value. I've tried both int and number and it won't work, no output errors.
a = script.Parent.Parent.yes
script.Parent.MouseButton1Down:connect(function()
a.Value = a.Value + 1
end)
[Edit] Hierarchy: http://s30.postimg.org/60gz3kfhd/hierarchy.png

2 comments
Can you please take a picture of the hierarchy?
Yup, see my edit.