I have a map script with a gui lobby. After 10 seconds, a button to close the gui should show up. The script clones the screen gui from the server storage and puts it in the starter gui. The screen gui has a frame with a button that I can't see or click. Map Script Section :
local ShowGui = game.ReplicatedStorage.CloseGui
ShowGui:FireServer()
Server Script :
local ShowGui = game:GetService("ReplicatedStorage").CloseGui
ShowGui.OnServerEvent:Connect(function(player)
game.ServerStorage.GUI.CloseRegen:Clone().Parent = game:WaitForChild("StarterGui")
or game.ServerStorage.GUI.CloseRegen:Clone().Parent == game:FindFirstChild("StarterGui")
end)
I looked in the explorer in studio and 'Close Regen' was there but not showing up. Both the main lobby and the button are parented to StarterGui, with the button having a higher Zindex. I can't see the button or click on it. I also have FE on. Why isn't it showing up?

5 comments
You can't click a gui, make a button or something or explain.
It's a button inside a frame inside a screen gui
use :Connect(), not :connect()
I did
@hiimgoodpack using ':Connect()' does the same thing as if you are to do ':connect()'