Error: Players.Maythews.PlayerGui.Menu.MenuBackground.Play.Script:17: ')' expected (to close '(' at line 7) near ''
This is a Football Management GUI game I am making; here's the script.
Script:
-- all variables
local TN = game.Workspace.StarterGui.Customization.TeamName
local BG = script.Parent.Parent
local PB = game.Workspace.StarterGui.Menu.MenuBackground.Play
local TL = game.Workspace.StarterGui.Menu.MenuBackground.Tip
--close menu
PB.MouseButton1Click:connect(function()
BG.Visible = false
PB.Visible = false
TL.Visible = false
TN.Visible = true
end
This is for the starting menu but local TN is for after you press play, if that helps at all.

2 comments
Add a ')' after the 'end'.
Oh wow thanks, however the script still does not appear to work. Nothing happens when i press play.