So I have a GUI that should show when You join the game and another that shows after 1.5 seconds, but neither will show. The code is a LocalScript inside of a folder in StarterGUI.
Code
local StartUpGUI = script.Parent.Parent.StartUpGUI
local StartUpName = StartUpGUI.StartUpName
local StartUpLoading = StartUpGUI.Loading
local MainMenu = script.Parent.Parent.MainMenu
game.Players.PlayerAdded:Connect(function()
MainMenu.Visible = false
StartUpGUI.Visible = true
wait(2.5)
StartUpGUI.Visible = false
MainMenu.Visible = true
end)
PlayerAdded doesn’t work well in local scripts as it does on the server, so just remove it. Also I noticed you’re trying to access a ScreenGui through a script outside of it, that won’t work as all GUIs are replicated to PlayerGui when the player first joins.
Is there a reason why you have two ScreenGuis? Can’t you just put both frames in one?