From cd55d5955f3309e7ee185aeb3593848d2294c4e9 Mon Sep 17 00:00:00 2001 From: Quacky Date: Sun, 9 Jul 2017 16:54:15 -0500 Subject: [PATCH] Menu SetVerb (aka working stuff) Not tested, xdd --- CSMPFunctions.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CSMPFunctions.lua b/CSMPFunctions.lua index 7d2a4b6..4f11b2c 100644 --- a/CSMPFunctions.lua +++ b/CSMPFunctions.lua @@ -564,6 +564,9 @@ function CSConnect(UserID,ServerIP,ServerPort,PlayerName,Hat1ID,Hat2ID,Hat3ID,He game.CoreGui.RobloxGui.ControlFrame.BottomRightControl.ToggleFullScreen.Position = UDim2.new(1, -85, 1, -48) game.CoreGui.RobloxGui.ControlFrame.BottomLeftControl.TogglePlayMode:Remove() game.CoreGui.RobloxGui.ControlFrame.BottomLeftControl.Exit:Remove() + wait(5) -- we have to wait until the menu gets built, don't we? + Player.PlayerGui.Menu.UserSettingsShield.Settings.SettingsStyle.GameSettingsMenu.FullscreenCheckbox:SetVerb("ToggleFullScreen") + Player.PlayerGui.Menu.UserSettingsShield.Settings.SettingsStyle.GameMainMenu.ScreenshotButton:SetVerb("Screenshot") end InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID) else