i seriously have to work to click that button !
script.Parent.MouseButton1Up:connect(function()
script.Parent.Parent.Parent.Parent.Part1.SurfaceGui.TextBox.Text = script.Parent.Text
script.Parent.Parent.Parent.BrickColor = BrickColor.new("Bright green")
if script.Parent.Text == "Good" then
script.Parent.Parent.Parent.Parent.Number.Value = script.Parent.Parent.Parent.Parent.Number.Value + 1
elseif script.Parent.Text == "Bad" then
script.Parent.Parent.Parent.Parent.Number.Value = script.Parent.Parent.Parent.Parent.Number.Value - 1
end
end)

11 comments
Is this a ClickDetector?
its a textbutton inside a surface gui
Is there anything in the output?
nope just its very hard to click but it does click
So it works fine?
em not really its not suppose be hard to click
Maybe it's your mouse.
no lol guis work fine but surface gui doesnt want to click
Are you sure it's not MouseButton1Down?
ill try it
MouseButton1Up will only execute when you release a left click, try MouseButton1Down or MouseButton1Click