So I have a GUI that loads visible even though it isn't supposed to. It's from this script that it doesn't load invisible, although it did once when I changed the function from on click playing a function to on click being the function.
local Button = script.Parent
local frame = script.Parent.Parent:WaitForChild("Shop")
Button.MouseButton1Click:Connect(function()
frame.Visible = true
end)

1 comment
Nvm I just added a script putting the visible as false in the gui, Ill leave this up if anyone else has the same problem :P