How come my script doesn't work anymore? The ScreenGui just stays there.
I'm making it so when a player clicks a button, the ScreenGui
disables. However, its not working anymore. How come? This is the code that used to work:
02 | local Screen = script:WaitForChild( 'TitleScreenGui' ) |
03 | local screen = Screen:Clone() |
04 | local play = screen.TitleScreenBox.TitleText.PlayButton |
06 | game.Players.playerAdded:connect( function (player) |
07 | local startergui = player:WaitForChild( 'PlayerGui' ) |
08 | screen.Parent = startergui |
12 | play.MouseButton 1 Down:connect( function (player) |
13 | screen.Enabled = false |
What happened to my script that made it so it stopped working? Was it an update?