Hello, I'm trying to make a GUI not be visible when a player joins the game. I have already made a button that opens the GUI.
make a local script in playerGui
Use the PlayerAdded event to detect if a player is joining
use the FrameĀ“s Visible property and change it.
local players = game:GetService("Players") local frame = script.Parent --make sure the script is placed in the frame you want to hide! players.PlayerAdded:Connect(function() frame.Visible = false end)