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?

16 comments
Put the SurfaceGui in starterGui and use the command line to set the Adornee property to the part that you want to have the SurfaceGui on.
the adornee option is blanked out
You have to use the command line to set it
do you mean i need to put a script in the GUI that moves it to the brick?
You can either do that, or if you go into View in Studio and select Command bar and then type it out there.
I was able to attach to the brick with it still being in the player GUI, but I still can't click the button?
even weirder is that when I select the surface GUI it doesn't get that neat little blue box that shows it's connected
?
You know you select something and it gets a blue box? When I select it, it doesn't get a blue box.
Can I come in game and see?
absolutely
isn't there something like a multiplayer studio or whatever?
Team creatE?
I invited you
What's the name of the place?
https://www.roblox.com/games/178330730/Dream-land-RPG-WIP