MainScript is not a member of ServerScriptService? Nani?
So I'm making a loading screen for my game with a button that enables the main script which is in ServerScriptService
Apparently, according to my output, MainScript is not a valid member of ServerScriptService. My explorer tab says otherwise.
The following script is written in a LocalScript inside of the ScreenGui that is my loading screen.
1 | script.Parent.MouseButton 1 Up:Connect( function () |
2 | script.Parent.Visible = false |
4 | game.ServerScriptService.MainScript.Disabled = false |