Whenever I play any of my Roblox games I can never see guis that eppear from clicking gui buttons, or clicking parts, or even enabling it on the properties tab. But this is only whenever I'm playing the game, when I am in studio mode I can easily see the gui each time I enable or disable it. Though if I enable it then join the game I can see it, but then if I disable it and enable it again I cant. Whenever I press the button or brick to enable the gui while it doesn't appear if I look in properties it says its enabled? Whats the deal with this? This is the script I used.
local function onMouseClick(player)
game.StarterGui.Trash.Frame.Visible=true
end
script.Parent.ClickDetector.MouseClick:connect(onMouseClick)
I receive no errors.

1 comment
You shouldn't receive any errors since the script's function will work.