local Players = game:GetService("Players") local lp = Players.LocalPlayer -- Verificação anti-dúplicas if lp.PlayerGui:FindFirstChild("zClaw") then lp.PlayerGui.zClaw:Destroy() end -- Variáveis principais local gui = Instance.new("ScreenGui", lp:WaitForChild("PlayerGui")) gui.Name = "zClaw" gui.ResetOnSpawn = false local dragging, dragInput, dragStart, startPos -- Função arrastar local function makeDraggable(frame) frame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = frame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) frame.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) game:GetService("UserInputService").InputChanged:Connect(function(input) if input == dragInput and dragging then local delta = input.Position - dragStart frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end end) end -- GUI Principal local main = Instance.new("Frame", gui) main.Size = UDim2.new(0, 500, 0, 300) main.Position = UDim2.new(0.25, 0, 0.3, 0) main.BackgroundColor3 = Color3.fromRGB(10, 10, 10) main.BorderSizePixel = 0 main.Name = "Main" main.Active = true main.Draggable = false makeDraggable(main) -- Título local title = Instance.new("TextLabel", main) title.Size = UDim2.new(1, -10, 0, 30) title.Position = UDim2.new(0, 5, 0, 0) title.Text = "zClaw Mobile version" title.Font = Enum.Font.SourceSansBold title.TextColor3 = Color3.fromRGB(0, 255, 0) title.BackgroundTransparency = 1 title.TextXAlignment = Enum.TextXAlignment.Left title.TextSize = 20 -- Minimizar local minimizeBtn = Instance.new("TextButton", main) minimizeBtn.Size = UDim2.new(0, 80, 0, 20) minimizeBtn.Position = UDim2.new(1, -90, 0, 5) minimizeBtn.Text = "[Minimizar]" minimizeBtn.Font = Enum.Font.SourceSans minimizeBtn.TextColor3 = Color3.fromRGB(0, 255, 0) minimizeBtn.BackgroundTransparency = 1 minimizeBtn.TextSize = 14 -- Tabs local tabs = {} local currentTab = nil local tabId = 0 local injected = false local tabHolder = Instance.new("Frame", main) tabHolder.Size = UDim2.new(1, -10, 0, 25) tabHolder.Position = UDim2.new(0, 5, 0, 40) tabHolder.BackgroundTransparency = 1 local function switchTab(tab) for _, t in pairs(tabs) do t.Editor.Visible = false end tab.Editor.Visible = true currentTab = tab end local function addTab() tabId += 1 local tab = {} local button = Instance.new("TextButton", tabHolder) button.Size = UDim2.new(0, 120, 1, 0) button.Position = UDim2.new(0, (#tabs * 125), 0, 0) button.Text = "Script Tab-"..tostring(tabId) button.BackgroundColor3 = Color3.fromRGB(30, 30, 30) button.TextColor3 = Color3.fromRGB(255, 255, 255) button.Font = Enum.Font.Code button.TextSize = 14 local editor = Instance.new("TextBox", main) editor.Position = UDim2.new(0, 5, 0, 70) editor.Size = UDim2.new(1, -10, 0, 170) editor.Text = [[print("Zclaw mobile por Kay Scripts, Todos os Creditos para Oree Scripter")]] editor.MultiLine = true editor.Font = Enum.Font.Code editor.TextColor3 = Color3.fromRGB(0, 255, 120) editor.TextSize = 16 editor.BackgroundColor3 = Color3.fromRGB(20, 20, 20) editor.ClearTextOnFocus = false editor.TextXAlignment = Enum.TextXAlignment.Left editor.TextYAlignment = Enum.TextYAlignment.Top editor.TextWrapped = false editor.Visible = false button.MouseButton1Click:Connect(function() switchTab(tab) end) tab.Editor = editor tab.Button = button table.insert(tabs, tab) switchTab(tab) end -- Botões de + e - local addTabBtn = Instance.new("TextButton", main) addTabBtn.Size = UDim2.new(0, 30, 0, 20) addTabBtn.Position = UDim2.new(1, -60, 0, 70) addTabBtn.Text = "+" addTabBtn.Font = Enum.Font.SourceSans addTabBtn.TextColor3 = Color3.fromRGB(255, 255, 255) addTabBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 30) addTabBtn.MouseButton1Click:Connect(addTab) local removeTabBtn = Instance.new("TextButton", main) removeTabBtn.Size = UDim2.new(0, 30, 0, 20) removeTabBtn.Position = UDim2.new(1, -30, 0, 70) removeTabBtn.Text = "-" removeTabBtn.Font = Enum.Font.SourceSans removeTabBtn.TextColor3 = Color3.fromRGB(255, 255, 255) removeTabBtn.BackgroundColor3 = Color3.fromRGB(30, 30, 30) removeTabBtn.MouseButton1Click:Connect(function() if currentTab then currentTab.Editor:Destroy() currentTab.Button:Destroy() for i, t in pairs(tabs) do if t == currentTab then table.remove(tabs, i) break end end currentTab = nil end end) -- Botão Inject (Texto) local injectBtn = Instance.new("TextButton", main) injectBtn.Size = UDim2.new(0, 100, 0, 30) injectBtn.Position = UDim2.new(1, -110, 1, -40) injectBtn.Text = "Inject" injectBtn.Font = Enum.Font.SourceSansBold injectBtn.TextColor3 = Color3.fromRGB(0, 255, 0) injectBtn.BackgroundColor3 = Color3.fromRGB(20, 20, 20) injectBtn.BorderSizePixel = 0 injectBtn.MouseButton1Click:Connect(function() injected = true game.StarterGui:SetCore("SendNotification", { Title = "zClaw", Text = "Zclaw injetado com sucesso!!", Duration = 3 }) end) -- Botão Execute (Texto) local executeBtn = Instance.new("TextButton", main) executeBtn.Size = UDim2.new(0, 100, 0, 30) executeBtn.Position = UDim2.new(1, -220, 1, -40) executeBtn.Text = "Execute" executeBtn.Font = Enum.Font.SourceSansBold executeBtn.TextColor3 = Color3.fromRGB(0, 255, 0) executeBtn.BackgroundColor3 = Color3.fromRGB(20, 20, 20) executeBtn.BorderSizePixel = 0 executeBtn.MouseButton1Click:Connect(function() if not injected then game.StarterGui:SetCore("SendNotification", { Title = "zClaw", Text = "Injete o Zclaw primeiro!!", Duration = 3 }) else if currentTab then local code = currentTab.Editor.Text local success, err = pcall(function() loadstring(code)() end) if not success then game.StarterGui:SetCore("SendNotification", { Title = "Erro", Text = "Erro na execução: "..err, Duration = 3 }) end end end end) -- Botão Clear (Texto) local clearBtn = Instance.new("TextButton", main) clearBtn.Size = UDim2.new(0, 100, 0, 30) clearBtn.Position = UDim2.new(1, -330, 1, -40) clearBtn.Text = "Clear" clearBtn.Font = Enum.Font.SourceSansBold clearBtn.TextColor3 = Color3.fromRGB(0, 255, 0) clearBtn.BackgroundColor3 = Color3.fromRGB(20, 20, 20) clearBtn.BorderSizePixel = 0 clearBtn.MouseButton1Click:Connect(function() if currentTab then currentTab.Editor.Text = "" end end) -- Minimizar e restaurar local minimizedBtn = Instance.new("TextButton") minimizedBtn.Parent = gui minimizedBtn.Size = UDim2.new(0, 100, 0, 30) minimizedBtn.Position = UDim2.new(0, 100, 0, 100) minimizedBtn.Text = "ZClaw" minimizedBtn.BackgroundColor3 = Color3.fromRGB(10, 10, 10) minimizedBtn.TextColor3 = Color3.fromRGB(0, 255, 0) minimizedBtn.Visible = false makeDraggable(minimizedBtn) minimizeBtn.MouseButton1Click:Connect(function() main.Visible = false minimizedBtn.Visible = true end) minimizedBtn.MouseButton1Click:Connect(function() main.Visible = true minimizedBtn.Visible = false end) -- Criar a primeira tab addTab()