I have a surface GUI but I can't click on the image button in it.
I have it set up as Brick Surface Gui / sound Frame Image Button script I don't think the problem is the script which is
local sound = script.Parent.Parent.Parent.Parent.Sound function onClicked() sound:Play() end script.Parent.MouseButton1Click:connect(onClicked)
I have a very similar script in a screen GUI that teleports you instead of making a sound and it works perfectly.
All frames, buttons, and GUIs are enabled. There are multiple frames in the GUI with the same size that all overlap each other. None of the buttons overlap each other. All buttons are active and selectable. All frames are selectable and have clip-descendants enabled.
Any ideas why I can't click the image button?
I believe I know the solution to your problem, is the SurfaceGui in StarterGui with the Adornee property set to the brick you want it to show on? In order to play a sound the script needs to be a LocalScript.