Hello just i sad in the title I want to make a GUI that appears when I click on a brick. The Script I made dont work
function onClicked()
game.StarterGui.Gamepasses.BalloonGUI.Frame.Visible = true
end
script.Parent.MouseClick:connect(onClicked)
I putted a Script in the ClickDetector and the ClickDetector in the Brick Thanks for your help.

4 comments
but how can I implement that in the script
the clickdectocter returns the player as parameter, so all you have to
player.PlayerGui.Gamepasses.BalloonGUI.Frame.Visible = trueok thanks it works now :)
Np, glad i could help