good morning! so today i made a menu screen with a settings button and a play button when i click the settings button it keeps giving me this error:
Players.NexterDev.PlayerGui.Menu.PLAY.SETTINGS.LocalScript:2: Expected 'end' (to close 'function' at line 1), got <eof>
here is my script:
script.Parent.MouseButton1Click:connect(function() game.StarterGui.Menu.PLAY.SETTINGS.SettingsFrame.Visible = true
You need to add an end with a closing bracket at line 3 to let the script know when to end a function.
script.Parent.MouseButton1Click:connect(function() game.StarterGui.Menu.PLAY.SETTINGS.SettingsFrame.Visible = true end)