My GUI doesn't work in-game when I click on it, FE is enabled btw. Here's the script:
local Button1 = script.Parent.Parent
local Button2 = script.Parent.Parent
Frame = game.StarterGui.ScreenGui.ShopMenu
function onClick()
if Frame.Visible == false then
Frame.Visible = true
elseif Frame.Visible == true then
Frame.Visible = false
end
end
Button1.MouseButton1Click:connect(onClick)
print("Worked")
If you need anything else, please comment and i'll respond, thanks!

3 comments
You don’t use StarterGui. You use PlayerGui.
What does FE mean?
FE means filter enabled