diff --git a/processed/46295863.lua b/processed/46295863.lua index f80f948..d7bc666 100644 --- a/processed/46295863.lua +++ b/processed/46295863.lua @@ -1007,7 +1007,7 @@ createGameSettingsMenu = function(baseZIndex, _) backButton.Name = "BackButton" backButton.ZIndex = baseZIndex + 4 backButton.Parent = gameSettingsMenuFrame - local syncVideoCaptureSetting = nil + syncVideoCaptureSetting = nil if not macClient then local videoCaptureLabel = Instance.new("TextLabel") videoCaptureLabel.Name = "VideoCaptureLabel" @@ -1092,13 +1092,13 @@ createGameSettingsMenu = function(baseZIndex, _) return gameSettingsMenuFrame end if LoadLibrary then - local RbxGui = LoadLibrary("RbxGui") + RbxGui = LoadLibrary("RbxGui") local baseZIndex = 0 if UserSettings then local createSettingsDialog createSettingsDialog = function() waitForChild(gui, "BottomLeftControl") - local settingsButton = gui.BottomLeftControl:FindFirstChild("SettingsButton") + settingsButton = gui.BottomLeftControl:FindFirstChild("SettingsButton") if settingsButton == nil then settingsButton = Instance.new("ImageButton") settingsButton.Name = "SettingsButton" diff --git a/yue/46295863.yue b/yue/46295863.yue index e6f68ff..f359c7b 100644 --- a/yue/46295863.yue +++ b/yue/46295863.yue @@ -1246,7 +1246,7 @@ createGameSettingsMenu = (baseZIndex, _) -> backButton.ZIndex = baseZIndex + 4 backButton.Parent = gameSettingsMenuFrame - syncVideoCaptureSetting = nil + global syncVideoCaptureSetting = nil if not macClient videoCaptureLabel = Instance.new "TextLabel" @@ -1335,12 +1335,12 @@ createGameSettingsMenu = (baseZIndex, _) -> gameSettingsMenuFrame if LoadLibrary - RbxGui = LoadLibrary "RbxGui" + global RbxGui = LoadLibrary "RbxGui" baseZIndex = 0 if UserSettings createSettingsDialog = -> waitForChild gui, "BottomLeftControl" - settingsButton = gui.BottomLeftControl\FindFirstChild "SettingsButton" + global settingsButton = gui.BottomLeftControl\FindFirstChild "SettingsButton" if settingsButton == nil settingsButton = Instance.new "ImageButton"