--[[ Script OTIMIZADO para Delta Executor (e qualquer outro) - Botão Vermelho: dá item que teleporta para onde clicar - Botão Azul: dá item que trava a câmera na posição atual ]] local player = game.Players.LocalPlayer local mouse = player:GetMouse() local runService = game:GetService("RunService") local coreGui = game:GetService("CoreGui") -- Cria a GUI principal no CoreGui (sobrescreve qualquer interface do jogo) local screenGui = Instance.new("ScreenGui") screenGui.Name = "DeltaToolsGUI" screenGui.ResetOnSpawn = false screenGui.Parent = coreGui -- Fundo da janela (arrastável) local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 210, 0, 60) frame.Position = UDim2.new(0.5, -105, 0.5, -30) frame.BackgroundColor3 = Color3.fromRGB(20, 20, 20) frame.BackgroundTransparency = 0.3 frame.BorderSizePixel = 0 frame.Active = true frame.Draggable = true frame.Parent = screenGui -- Botão Vermelho (Teleporte) local btnTeleport = Instance.new("TextButton") btnTeleport.Size = UDim2.new(0, 90, 0, 40) btnTeleport.Position = UDim2.new(0, 5, 0, 10) btnTeleport.BackgroundColor3 = Color3.fromRGB(255, 0, 0) btnTeleport.Text = "テレポート" btnTeleport.TextColor3 = Color3.fromRGB(255, 255, 255) btnTeleport.TextScaled = true btnTeleport.Font = Enum.Font.SourceSansBold btnTeleport.Parent = frame -- Botão Azul (Espião) local btnSpy = Instance.new("TextButton") btnSpy.Size = UDim2.new(0, 90, 0, 40) btnSpy.Position = UDim2.new(0, 115, 0, 10) btnSpy.BackgroundColor3 = Color3.fromRGB(0, 0, 255) btnSpy.Text = "スパイ" btnSpy.TextColor3 = Color3.fromRGB(255, 255, 255) btnSpy.TextScaled = true btnSpy.Font = Enum.Font.SourceSansBold btnSpy.Parent = frame -- FUNÇÃO PARA CRIAR OS ITENS local function criarItem(nome, tipo) local tool = Instance.new("Tool") tool.Name = nome tool.RequiresHandle = false tool.CanBeDropped = true tool.ToolTip = nome if tipo == "teleport" then tool.Activated:Connect(function() if not mouse.Target then return end local char = player.Character if not char then return end local root = char:FindFirstChild("HumanoidRootPart") if not root then return end local pos = mouse.Hit.Position if pos.Y < -100 then return end -- evita bugs root.CFrame = CFrame.new(pos + Vector3.new(0, 3, 0)) end) elseif tipo == "spy" then local camera = workspace.CurrentCamera local cameraLocked = false local lockCFrame = camera.CFrame -- Função que força a câmera a ficar parada local function lockCamera() if cameraLocked then camera.CFrame = lockCFrame end end -- Conecta ao RenderStepped para travar constantemente local connection connection = runService.RenderStepped:Connect(lockCamera) tool.Equipped:Connect(function() cameraLocked = true lockCFrame = camera.CFrame -- captura a posição atual camera.CameraType = Enum.CameraType.Scriptable end) tool.Unequipped:Connect(function() cameraLocked = false if connection then connection:Disconnect() end camera.CameraType = Enum.CameraType.Custom -- volta ao normal -- Força a seguir o personagem novamente if player.Character and player.Character:FindFirstChild("Humanoid") then camera.CameraSubject = player.Character.Humanoid end end) -- Limpeza se o item for destruído tool.AncestryChanged:Connect(function() if not tool.Parent then cameraLocked = false if connection then connection:Disconnect() end camera.CameraType = Enum.CameraType.Custom end end) end return tool end -- AÇÃO DOS BOTÕES btnTeleport.MouseButton1Click:Connect(function() local tool = criarItem("テレポート", "teleport") tool.Parent = player.Backpack -- Aviso simples no chat (funciona em qualquer jogo) player.Chatted:Wait() -- só pra não floodar, mas pode remover player:Chat("Item テレポート adicionado ao inventário!") end) btnSpy.MouseButton1Click:Connect(function() local tool = criarItem("スパイ", "spy") tool.Parent = player.Backpack player:Chat("Item スパイ adicionado ao inventário!") end)