ok so here is my code...
function idk() game.StarterGui.ScreenGui.colorred.visible = false game.StarterGui.ScreenGui.colorpink.visible = false game.StarterGui.ScreenGui.colorcyan.visible = false end script.Parent.MouseButton1Click:connect(idk)
so what im trying to do here is when i click a first button 3 more buttons pop up with colors so people can change them.. but when i click the first button with this code in it it doesent disappear am i doing somthing wrong?

2 comments
Wouldn't it be more efficient to use a variable, rather than rewrite lines 4-6? (To get from Player to the ScreenGui) However, if you wish to keep it the way it is, I suggest removing the yields on 5-6, as the first (line 4) has already waited for the PlrGui.
I guess, alright. But again, that script I made works. I'll just shorten it though.