From 8b04e6bae87d7a090d53a4203f7243d82bd385ce Mon Sep 17 00:00:00 2001 From: carrotZ1 Date: Sun, 6 Aug 2017 18:38:07 -0500 Subject: [PATCH] menu on play solo --- CSMPFunctions.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CSMPFunctions.lua b/CSMPFunctions.lua index 52a9892..0201bed 100644 --- a/CSMPFunctions.lua +++ b/CSMPFunctions.lua @@ -858,6 +858,17 @@ function CSSolo(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID, Humanoid.Died:connect(function() delay(5,function() plr:LoadCharacter() LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character) end) end) end end + + if (rbxlegacyversion > 8) + local function waitForChild(instance, name) + while not instance:FindFirstChild(name) do + instance.ChildAdded:wait() + end + end + + waitForChild(game.StarterGui,"Menu") + game.StarterGui.Menu.Workaround:remove() + end end function CS3DView(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID,TorsoID,RArmID,LArmID,RLegID,LLegID,IconType)