This commit is contained in:
Lewin Kelly 2023-04-24 06:49:19 +01:00
parent 3c73562c50
commit 595169f751
2 changed files with 2 additions and 2 deletions

View File

@ -539,7 +539,7 @@ createGameMainMenu = function(baseZIndex, shield)
gameSettingsButton.Name = "SettingsButton"
gameSettingsButton.ZIndex = baseZIndex + 4
gameSettingsButton.Parent = gameMainMenuFrame
if game:FindFirstChild("LoadingGuiService" and #game.LoadingGuiService:GetChildren() > 0) then
if game:FindFirstChild("LoadingGuiService") and #game.LoadingGuiService:GetChildren() > 0 then
gameSettingsButton = createTextButton("Game Instructions", Enum.ButtonStyle.RobloxButton, Enum.FontSize.Size24, UDim2.new(0, 340, 0, 50), UDim2.new(0, 82, 0, 207))
gameSettingsButton.Name = "GameInstructions"
gameSettingsButton.ZIndex = baseZIndex + 4

View File

@ -711,7 +711,7 @@ createGameMainMenu = (baseZIndex, shield) ->
gameSettingsButton.ZIndex = baseZIndex + 4
gameSettingsButton.Parent = gameMainMenuFrame
if game\FindFirstChild "LoadingGuiService" and #game.LoadingGuiService\GetChildren! > 0
if game\FindFirstChild"LoadingGuiService" and #game.LoadingGuiService\GetChildren! > 0
gameSettingsButton = createTextButton(
"Game Instructions",
Enum.ButtonStyle.RobloxButton,