function welcome() wait(1) script.Parent.Visible = True end game.Players.PlayerAdded:connect(welcome)
this script is so that when a player joins the game it will wait one second before showing the GUI that says welcome, for some reason it does not work. also for some reason i dont have my decals in my toolbox are, the drop down thing only goes as far as deadly machines
game.Players.PlayerAdded:connect(function(player) function onClick() wait(1) player.PlayerGUI.GUI.Visible = true end end) player.PlayerGUI.GUI.MouseButton1Click:connect(onClick)
The PlayerAdded event is run when a player joins a game, the (player) will find the persons name who has joined, it will then wait for the player to click the TextButton before waiting one second before using the name it found earlier to search through the PlayerGUI and finding the right GUI and making it visible.
Apologies for the bad answer earlier, I was tired.
function welcome() wait(1) script.Parent.Visible = true -- you put 'True' with a capped 'T'. It can't be like that. end game.Players.PlayerAdded:connect(welcome)
This should fix it for you. Just make sure you put this script in the frame of the 'welcome gui' that you have.
Edit: this is what I like to do, i don't like to do the top one.. :/
game.Players.PlayerAdded:connect(Function welcome() wait(1) script.Parent.Visible = true end)