From 7203529ebc980adca70ca3f172eb03b7751d7f1e Mon Sep 17 00:00:00 2001 From: Thomas G <62822072+Thomasluigi07@users.noreply.github.com> Date: Tue, 5 Jul 2022 14:14:09 +1000 Subject: [PATCH] Update 1 --- public/asset/1 | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/public/asset/1 b/public/asset/1 index 3f9bba4..764f5c6 100644 --- a/public/asset/1 +++ b/public/asset/1 @@ -92,24 +92,4 @@ if game.CoreGui.Version >= 3 then waitForChild(screenGui.CurrentLoadout.TempSlot,"SlotNumber") -- Backpack Script scriptContext:AddCoreScript(13,screenGui.CurrentLoadout,"BackpackScript") -end - -local IsPersonalServer = not not game.Workspace:FindFirstChild("PSVariable") -if IsPersonalServer then - game:GetService("ScriptContext"):AddCoreScript(16,game.Players.LocalPlayer,"BuildToolManager") -end -game.Workspace.ChildAdded:connect(function(nchild) - if nchild.Name=='PSVariable' and nchild:IsA('BoolValue') then - IsPersonalServer = true - game:GetService("ScriptContext"):AddCoreScript(16,game.Players.LocalPlayer,"BuildToolManager") - end -end) - -if touchEnabled then -- touch devices don't use same control frame - waitForChild(screenGui, 'ControlFrame') - waitForChild(screenGui.ControlFrame, 'BottomLeftControl') - screenGui.ControlFrame.BottomLeftControl.Visible = false - - waitForChild(screenGui.ControlFrame, 'TopLeftControl') - screenGui.ControlFrame.TopLeftControl.Visible = false -end \ No newline at end of file +end \ No newline at end of file