local Button = script.Parent Button.MouseButton1Up:Connect(function() print("yes") end)
Inside of a scrolling gui, folder. Its also inside of a part surface gui, yes the surface gui adornee is the part. It doesnt even detect being clicked by a player. The script is a SCRIPT not local script.
The button is clickable, I don't know why it doesnt detect it being clicked.
I don't think you're supposed to put the SurfaceGui INSIDE the part. Try putting it inside a StarterGui instead, and make the Adornee into the part. If the problem persists, please reply and let me know.
https://imgur.com/gallery/UyoCqrl
LOCATION OF THE SCRIPT.