I'm finished with my start GUI, except there's one problem : It shows whenever a player dies. Here's my script so far (I probably will need to insert a new script for that :c)
--Script by club101coolguy local Player = game.Players.LocalPlayer Box = script.Parent.Parent.Frame Play = script.Parent.Parent.Play gui = script.Parent.Parent Text = script.Parent.Parent.TextLabel local Sound = Instance.new("Sound", gui) Sound.SoundId = "http://www.roblox.com/asset/?id=221235033" Sound.Pitch = 1 Sound.Volume = 0.7 --Variables and Variable Properties Sound:Play() function MouseEnterPlayButton() Play.FontSize = "Size48" end function MouseLeftPlayButton() Play.FontSize = "Size36" end Play.MouseEnter:connect(MouseEnterPlayButton) Play.MouseLeave:connect(MouseLeftPlayButton) --Makes chat Play Button bigger when a mouse hovers. function PlayGame() Box:Destroy() Play:Destroy() Sound:Stop() Text:Destroy() end Play.MouseButton1Down:connect(PlayGame) --When a Player clicks on Play, Music stops and GUIs dissapear.
Try adding in a timer so when the player dies it goes away for a certain time However to make sure it stays away put a really large number everytime the player dies the number resets such if they die when its at 24678, then it will reset to its original number 32000