game.StarterGui.StartGui.Background.TextButton.MouseButton1Down:connect(function()
script.Parent.StartGui.Background.Visible = false
end)
Please help. And yes, it is in a LocalScript
game.StarterGui.StartGui.Background.TextButton.MouseButton1Down:connect(function()
script.Parent.StartGui.Background.Visible = false
end)
Please help. And yes, it is in a LocalScript
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
change "game.StarterGui" on Line 1 to "game.Players.LocalPlayer.PlayerGui".
Thanks, It helped!