game.StarterGui.StartGui.Background.TextButton.MouseButton1Down:connect(function()
	script.Parent.StartGui.Background.Visible = false
end)




Please help. And yes, it is in a LocalScript

2 comments

1

change "game.StarterGui" on Line 1 to "game.Players.LocalPlayer.PlayerGui".

0

Thanks, It helped!