Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make a GUI not visible when a player joins the game?

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.

1 answer

✓ Accepted answer
  1. make a local script in playerGui

  2. Use the PlayerAdded event to detect if a player is joining

  3. 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)

1 comment

0

you could actually do both

This discussion is preserved as it was. New answers, comments, and votes are closed.