local Players = game:GetService("Players") local GuiService = game:GetService("GuiService") local VirtualInputManager = game:GetService("VirtualInputManager") local UserInputService = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local RunService = game:GetService("RunService") local Workspace = game:GetService("Workspace") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local mouse = player:GetMouse() -- Limpa execução anterior caso o script seja rodado novamente if getgenv and getgenv().MasterScriptCleanup then pcall(getgenv().MasterScriptCleanup) end local encerrado = false local connections = {} local function addConn(conn) if conn then table.insert(connections, conn) end return conn end -- ========================================== -- DADOS E CONFIGURAÇÃO DO NPC PANEL -- ========================================== local save = { ["1"] = { title = "Kill / State 1", des = "Altera estado do NPC", val = Enum.HumanoidStateType.Dead }, ["2"] = { title = "Bring NPC", des = "Puxa o NPC até você" }, ["3"] = { title = "Goto NPC", des = "Teleporta até o NPC" }, ["4"] = { title = "Control NPC", des = "Assume o controle do NPC" }, ["5"] = { title = "Void / Sky NPC", des = "Envia o NPC para Y = 1000" }, ["6"] = { title = "Sit NPC", des = "Faz o NPC sentar/levantar" }, ["7"] = { title = "Ragdoll / State 2", des = "Altera estado secundário", val = Enum.HumanoidStateType.Physics }, ["8"] = { title = "Follow Player", des = "Faz o NPC seguir você" }, ["9"] = { title = "Aura State 1", des = "Afeta NPCs num raio de 13", val = Enum.HumanoidStateType.Dead }, ["10"] = { title = "Aura State 2", des = "Afeta NPCs num raio de 13", val = Enum.HumanoidStateType.Physics }, } local simRadius = 150 local currentNpc = nil local clickNpcEnabled = false local originalChar = nil local highlight = Instance.new("Highlight") highlight.Name = "UnifiedNPCHighlight" highlight.FillTransparency = 1 highlight.OutlineTransparency = 1 highlight.Parent = playerGui local mediumTween = TweenInfo.new(0.67) local function flashHighlight(adornee, color) if not adornee then return end task.spawn(function() highlight.Adornee = adornee highlight.OutlineColor = color TweenService:Create(highlight, mediumTween, { OutlineTransparency = 0 }):Play() task.wait(0.5) TweenService:Create(highlight, mediumTween, { OutlineTransparency = 1 }):Play() end) end local function checkPartOwner(part) if not part then return false end if type(partowner) == "function" then return partowner(part) elseif type(isnetworkowner) == "function" then return isnetworkowner(part) end return part.ReceiveAge == 0 end local function isNpcModel(ins) if not ins or not ins:IsA("Model") then return nil end local humanoid = ins:FindFirstChildOfClass("Humanoid") local plr = Players:GetPlayerFromCharacter(ins) if humanoid and not plr then return ins end return nil end -- ========================================== -- CRIAÇÃO DA INTERFACE PRINCIPAL UNIFICADA -- ========================================== local screenGui = Instance.new("ScreenGui") screenGui.Name = "UnifiedScriptUI" screenGui.ResetOnSpawn = false screenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling local okGui = pcall(function() screenGui.Parent = (gethui and gethui()) or game:GetService("CoreGui") end) if not okGui then screenGui.Parent = playerGui end local mainFrame = Instance.new("Frame") mainFrame.Name = "MainFrame" mainFrame.Size = UDim2.new(0, 310, 0, 380) mainFrame.Position = UDim2.new(0.5, -155, 0.4, -190) mainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 30) mainFrame.BorderSizePixel = 0 mainFrame.Active = true mainFrame.Parent = screenGui local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 8) corner.Parent = mainFrame local stroke = Instance.new("UIStroke") stroke.Color = Color3.fromRGB(70, 70, 80) stroke.Thickness = 1.5 stroke.Parent = mainFrame -- Top Bar com Arrastar Suave local topBar = Instance.new("Frame") topBar.Size = UDim2.new(1, 0, 0, 32) topBar.BackgroundTransparency = 1 topBar.Parent = mainFrame do local dragging, dragInput, dragStart, startPos addConn(topBar.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = mainFrame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end)) addConn(topBar.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end)) addConn(UserInputService.InputChanged:Connect(function(input) if input == dragInput and dragging then local delta = input.Position - dragStart mainFrame.Position = UDim2.new( startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y ) end end)) end local titleLabel = Instance.new("TextLabel") titleLabel.Size = UDim2.new(1, -70, 1, 0) titleLabel.Position = UDim2.new(0, 10, 0, 0) titleLabel.BackgroundTransparency = 1 titleLabel.Text = "Hub: Re:Trials + Dual TP" titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) titleLabel.TextSize = 12 titleLabel.Font = Enum.Font.GothamBold titleLabel.TextXAlignment = Enum.TextXAlignment.Left titleLabel.Parent = topBar -- Botão Minimizar (-) local minimizeBtn = Instance.new("TextButton") minimizeBtn.Size = UDim2.new(0, 26, 0, 26) minimizeBtn.Position = UDim2.new(1, -60, 0, 3) minimizeBtn.BackgroundColor3 = Color3.fromRGB(45, 45, 55) minimizeBtn.Text = "-" minimizeBtn.TextColor3 = Color3.fromRGB(220, 220, 220) minimizeBtn.TextSize = 14 minimizeBtn.Font = Enum.Font.GothamBold minimizeBtn.Parent = topBar local minCorner = Instance.new("UICorner") minCorner.CornerRadius = UDim.new(0, 6) minCorner.Parent = minimizeBtn -- Botão Fechar (X) local closeBtn = Instance.new("TextButton") closeBtn.Size = UDim2.new(0, 26, 0, 26) closeBtn.Position = UDim2.new(1, -30, 0, 3) closeBtn.BackgroundColor3 = Color3.fromRGB(45, 45, 55) closeBtn.Text = "X" closeBtn.TextColor3 = Color3.fromRGB(220, 220, 220) closeBtn.TextSize = 12 closeBtn.Font = Enum.Font.GothamBold closeBtn.Parent = topBar local closeCorner = Instance.new("UICorner") closeCorner.CornerRadius = UDim.new(0, 6) closeCorner.Parent = closeBtn -- ========================================== -- BARRA DE NAVEGAÇÃO (5 ABAS) -- ========================================== local tabNav = Instance.new("Frame") tabNav.Size = UDim2.new(1, -16, 0, 30) tabNav.Position = UDim2.new(0, 8, 0, 35) tabNav.BackgroundTransparency = 1 tabNav.Parent = mainFrame local function criarBotaoAba(nome, posX, sizeX) local btn = Instance.new("TextButton") btn.Size = UDim2.new(sizeX or 0.19, 0, 1, 0) btn.Position = UDim2.new(posX, 0, 0, 0) btn.BackgroundColor3 = Color3.fromRGB(40, 40, 50) btn.Text = nome btn.TextColor3 = Color3.fromRGB(200, 200, 200) btn.TextSize = 10 btn.Font = Enum.Font.GothamBold btn.Parent = tabNav local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0, 5) c.Parent = btn return btn end local btnTab1 = criarBotaoAba("Prestige", 0.00, 0.19) local btnTab2 = criarBotaoAba("TP Local", 0.20, 0.19) local btnTab3 = criarBotaoAba("TP Coords", 0.40, 0.19) local btnTab4 = criarBotaoAba("NPC Ctrl", 0.60, 0.19) local btnTab5 = criarBotaoAba("Custom", 0.80, 0.19) local contentArea = Instance.new("Frame") contentArea.Size = UDim2.new(1, -16, 1, -75) contentArea.Position = UDim2.new(0, 8, 0, 70) contentArea.BackgroundTransparency = 1 contentArea.Parent = mainFrame local function criarContainerAba(canvasHeight) local frame = Instance.new("ScrollingFrame") frame.Size = UDim2.new(1, 0, 1, 0) frame.BackgroundTransparency = 1 frame.BorderSizePixel = 0 frame.ScrollBarThickness = 4 frame.CanvasSize = UDim2.new(0, 0, 0, canvasHeight or 260) frame.Visible = false frame.Parent = contentArea return frame end local tab1Frame = criarContainerAba(260) local tab2Frame = criarContainerAba(280) -- TP Local local tab3Frame = criarContainerAba(315) -- TP Coords local tab4Frame = criarContainerAba(510) -- NPC Ctrl local tab5Frame = criarContainerAba(260) -- Custom local function alternarAba(num) tab1Frame.Visible = (num == 1) tab2Frame.Visible = (num == 2) tab3Frame.Visible = (num == 3) tab4Frame.Visible = (num == 4) tab5Frame.Visible = (num == 5) local activeColor = Color3.fromRGB(60, 120, 200) local inactiveColor = Color3.fromRGB(40, 40, 50) btnTab1.BackgroundColor3 = (num == 1) and activeColor or inactiveColor btnTab2.BackgroundColor3 = (num == 2) and activeColor or inactiveColor btnTab3.BackgroundColor3 = (num == 3) and activeColor or inactiveColor btnTab4.BackgroundColor3 = (num == 4) and activeColor or inactiveColor btnTab5.BackgroundColor3 = (num == 5) and activeColor or inactiveColor end btnTab1.MouseButton1Click:Connect(function() alternarAba(1) end) btnTab2.MouseButton1Click:Connect(function() alternarAba(2) end) btnTab3.MouseButton1Click:Connect(function() alternarAba(3) end) btnTab4.MouseButton1Click:Connect(function() alternarAba(4) end) btnTab5.MouseButton1Click:Connect(function() alternarAba(5) end) alternarAba(1) -- Lógica Minimizar local isMinimized = false minimizeBtn.MouseButton1Click:Connect(function() isMinimized = not isMinimized tabNav.Visible = not isMinimized contentArea.Visible = not isMinimized if isMinimized then mainFrame.Size = UDim2.new(0, 310, 0, 36) minimizeBtn.Text = "+" else mainFrame.Size = UDim2.new(0, 310, 0, 380) minimizeBtn.Text = "-" end end) -- ========================================== -- ABA 1: AUTO PRESTIGE (NÍVEL >= 2000) -- ========================================== local ativoPrestige = true local INTERVALO_PRESTIGE = 0.5 local NIVEL_MINIMO_PRESTIGE = 2000 local togglePrestigeBtn = Instance.new("TextButton") togglePrestigeBtn.Size = UDim2.new(1, 0, 0, 45) togglePrestigeBtn.Position = UDim2.new(0, 0, 0, 10) togglePrestigeBtn.BackgroundColor3 = Color3.fromRGB(200, 50, 50) togglePrestigeBtn.Text = "STATUS: PARAR" togglePrestigeBtn.TextColor3 = Color3.fromRGB(255, 255, 255) togglePrestigeBtn.TextSize = 14 togglePrestigeBtn.Font = Enum.Font.GothamBold togglePrestigeBtn.Parent = tab1Frame local pCorner = Instance.new("UICorner") pCorner.CornerRadius = UDim.new(0, 6) pCorner.Parent = togglePrestigeBtn local levelReqLabel = Instance.new("TextLabel") levelReqLabel.Size = UDim2.new(1, 0, 0, 24) levelReqLabel.Position = UDim2.new(0, 0, 0, 62) levelReqLabel.BackgroundTransparency = 1 levelReqLabel.Text = "Requisito: Nível >= 2000" levelReqLabel.TextColor3 = Color3.fromRGB(180, 220, 255) levelReqLabel.TextSize = 12 levelReqLabel.Font = Enum.Font.GothamSemibold levelReqLabel.TextXAlignment = Enum.TextXAlignment.Left levelReqLabel.Parent = tab1Frame togglePrestigeBtn.MouseButton1Click:Connect(function() ativoPrestige = not ativoPrestige if ativoPrestige then togglePrestigeBtn.Text = "STATUS: PARAR" togglePrestigeBtn.BackgroundColor3 = Color3.fromRGB(200, 50, 50) else togglePrestigeBtn.Text = "STATUS: INICIAR" togglePrestigeBtn.BackgroundColor3 = Color3.fromRGB(45, 165, 80) end end) local function obterNivelAtual() local leaderstats = player:FindFirstChild("leaderstats") local levelObj = leaderstats and leaderstats:FindFirstChild("Level") if not levelObj then return nil end local rawVal = levelObj.Value return tonumber(rawVal) or tonumber((tostring(rawVal):gsub("[^%d%.%-]", ""))) end local function nivelSuficienteParaPrestige() local nivel = obterNivelAtual() if nivel then levelReqLabel.Text = string.format("Nível atual: %d / %d", nivel, NIVEL_MINIMO_PRESTIGE) return nivel >= NIVEL_MINIMO_PRESTIGE else levelReqLabel.Text = "Aguardando leaderstats.Level..." return false end end local function clicar(elemento) if not elemento then return end if firesignal and elemento:IsA("GuiButton") then pcall(firesignal, elemento.MouseButton1Click) pcall(firesignal, elemento.Activated) return end local inset = GuiService:GetGuiInset() local pos = elemento.AbsolutePosition local size = elemento.AbsoluteSize local x = pos.X + (size.X / 2) + inset.X local y = pos.Y + (size.Y / 2) + inset.Y VirtualInputManager:SendMouseButtonEvent(x, y, 0, true, game, 1) task.wait(0.05) VirtualInputManager:SendMouseButtonEvent(x, y, 0, false, game, 1) end local function tentarAbrirMenu() local menuGui = playerGui:FindFirstChild("PlayerMenuGui") if not menuGui then return end local mainPanel = menuGui:FindFirstChild("MainPanel") if mainPanel and not mainPanel.Visible then local menuButton = menuGui:FindFirstChild("MenuButton", true) if menuButton and menuButton:IsA("GuiButton") and menuButton.Visible then clicar(menuButton) end end end local function obterStatsFrame() local menu = playerGui:FindFirstChild("PlayerMenuGui") local mainPanel = menu and menu:FindFirstChild("MainPanel") if not mainPanel then return nil end local item6 = mainPanel:GetChildren()[6] local stats = item6 and item6:FindFirstChild("Frame") and item6.Frame:FindFirstChild("Frame") and item6.Frame.Frame:FindFirstChild("StatsFrame") return stats or mainPanel:FindFirstChild("StatsFrame", true) end local function temTextoPrestige(obj) local textos = {} if obj:IsA("TextButton") or obj:IsA("TextLabel") then table.insert(textos, obj.Text) end for _, desc in ipairs(obj:GetDescendants()) do if desc:IsA("TextLabel") or desc:IsA("TextButton") then table.insert(textos, desc.Text) end end for _, t in ipairs(textos) do local upper = string.upper(t) if (string.find(upper, "PRESTÍGIO") or string.find(upper, "PRESTIGIO")) and not string.find(upper, "CANCEL") then return true end end return false end local function obterBotaoConfirmacao(overlay) local candidatoDireita = nil local maiorX = -math.huge for _, desc in ipairs(overlay:GetDescendants()) do if desc:IsA("GuiButton") and desc.Visible then if desc.AbsoluteSize.X < 400 and desc.AbsoluteSize.Y < 150 then if temTextoPrestige(desc) then return desc end if desc.AbsolutePosition.X > maiorX then maiorX = desc.AbsolutePosition.X candidatoDireita = desc end end end end return candidatoDireita end task.spawn(function() while not encerrado do if ativoPrestige and nivelSuficienteParaPrestige() then pcall(tentarAbrirMenu) task.wait(0.2) local statsFrame = obterStatsFrame() if statsFrame then local overlay = statsFrame:FindFirstChild("PrestigeOverlay") local prestigeBtn = statsFrame:FindFirstChild("PrestigeButton") if overlay and overlay.Visible then local confirmarBtn = obterBotaoConfirmacao(overlay) if confirmarBtn then clicar(confirmarBtn) end elseif prestigeBtn and prestigeBtn.Visible then clicar(prestigeBtn) end end end task.wait(INTERVALO_PRESTIGE) end end) -- ========================================== -- ABA 2: NPC TELEPORT - LOCAL (SEU ORIGINAL) -- ========================================== local selectedNpcsLocal = { ["Satella"] = true, ["Ran Yakumo"] = true, ["Regulus"] = true, ["Petelgeuse"] = true, ["Pandora"] = true } local isRunningNpcLocal = false local teleportDelayNpcLocal = 1 local toggleNpcLocalBtn = Instance.new("TextButton") toggleNpcLocalBtn.Size = UDim2.new(1, 0, 0, 35) toggleNpcLocalBtn.Position = UDim2.new(0, 0, 0, 5) toggleNpcLocalBtn.BackgroundColor3 = Color3.fromRGB(180, 50, 50) toggleNpcLocalBtn.Text = "TELEPORT: OFF" toggleNpcLocalBtn.TextColor3 = Color3.fromRGB(255, 255, 255) toggleNpcLocalBtn.TextSize = 13 toggleNpcLocalBtn.Font = Enum.Font.GothamBold toggleNpcLocalBtn.Parent = tab2Frame local nCornerLocal = Instance.new("UICorner") nCornerLocal.CornerRadius = UDim.new(0, 6) nCornerLocal.Parent = toggleNpcLocalBtn local npcListContainer = Instance.new("Frame") npcListContainer.Size = UDim2.new(1, 0, 0, 160) npcListContainer.Position = UDim2.new(0, 0, 0, 45) npcListContainer.BackgroundTransparency = 1 npcListContainer.Parent = tab2Frame local yOffsetLocal = 0 for npcName, state in pairs(selectedNpcsLocal) do local npcBtn = Instance.new("TextButton") npcBtn.Size = UDim2.new(1, -6, 0, 28) npcBtn.Position = UDim2.new(0, 0, 0, yOffsetLocal) npcBtn.BackgroundColor3 = Color3.fromRGB(50, 150, 50) npcBtn.Text = npcName .. ": [ON]" npcBtn.TextColor3 = Color3.fromRGB(255, 255, 255) npcBtn.TextSize = 12 npcBtn.Font = Enum.Font.GothamBold npcBtn.Parent = npcListContainer local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0, 5) c.Parent = npcBtn npcBtn.MouseButton1Click:Connect(function() selectedNpcsLocal[npcName] = not selectedNpcsLocal[npcName] if selectedNpcsLocal[npcName] then npcBtn.BackgroundColor3 = Color3.fromRGB(50, 150, 50) npcBtn.Text = npcName .. ": [ON]" else npcBtn.BackgroundColor3 = Color3.fromRGB(150, 50, 50) npcBtn.Text = npcName .. ": [OFF]" end end) yOffsetLocal = yOffsetLocal + 32 end local delayLabelNpcLocal = Instance.new("TextLabel") delayLabelNpcLocal.Size = UDim2.new(0.6, 0, 0, 30) delayLabelNpcLocal.Position = UDim2.new(0, 0, 0, 215) delayLabelNpcLocal.BackgroundTransparency = 1 delayLabelNpcLocal.Text = "Delay (s):" delayLabelNpcLocal.TextColor3 = Color3.fromRGB(220, 220, 220) delayLabelNpcLocal.TextSize = 13 delayLabelNpcLocal.Font = Enum.Font.Gotham delayLabelNpcLocal.TextXAlignment = Enum.TextXAlignment.Left delayLabelNpcLocal.Parent = tab2Frame local delayBoxNpcLocal = Instance.new("TextBox") delayBoxNpcLocal.Size = UDim2.new(0.4, 0, 0, 30) delayBoxNpcLocal.Position = UDim2.new(0.6, 0, 0, 215) delayBoxNpcLocal.BackgroundColor3 = Color3.fromRGB(55, 55, 55) delayBoxNpcLocal.Text = "1" delayBoxNpcLocal.TextColor3 = Color3.fromRGB(255, 255, 255) delayBoxNpcLocal.TextSize = 13 delayBoxNpcLocal.Font = Enum.Font.GothamBold delayBoxNpcLocal.Parent = tab2Frame local bCornerLocal = Instance.new("UICorner") bCornerLocal.CornerRadius = UDim.new(0, 6) bCornerLocal.Parent = delayBoxNpcLocal delayBoxNpcLocal.FocusLost:Connect(function() local newDelay = tonumber(delayBoxNpcLocal.Text) if newDelay and newDelay >= 0.05 then teleportDelayNpcLocal = newDelay else teleportDelayNpcLocal = 1 delayBoxNpcLocal.Text = "1" end end) toggleNpcLocalBtn.MouseButton1Click:Connect(function() isRunningNpcLocal = not isRunningNpcLocal if isRunningNpcLocal then toggleNpcLocalBtn.BackgroundColor3 = Color3.fromRGB(50, 180, 50) toggleNpcLocalBtn.Text = "TELEPORT: ON" else toggleNpcLocalBtn.BackgroundColor3 = Color3.fromRGB(180, 50, 50) toggleNpcLocalBtn.Text = "TELEPORT: OFF" end end) task.spawn(function() while not encerrado do if isRunningNpcLocal then local character = player.Character local rootPart = character and character:FindFirstChild("HumanoidRootPart") if rootPart then for npcName, isEnabled in pairs(selectedNpcsLocal) do if not isRunningNpcLocal or encerrado then break end if isEnabled then local npc = Workspace:FindFirstChild(npcName) if npc then local targetPart = npc:FindFirstChild("HumanoidRootPart") or npc.PrimaryPart if targetPart then rootPart.CFrame = targetPart.CFrame + Vector3.new(0, 3, 0) end end task.wait(teleportDelayNpcLocal) end end end end task.wait(0.1) end end) -- ========================================== -- ABA 3: NPC TELEPORT - COORDS (INSPIRAÇÃO) -- ========================================== local npcListCoords = { { name = "Satella", cframe = CFrame.new(10753.127, 32.6643066, 14699.5137, 1, 0, 0, 0, 1, 0, 0, 0, 1), enabled = true }, { name = "Ran Yakumo", cframe = CFrame.new(17188.125, 5.2153554, 16.7929688, 1, 0, 0, 0, 1, 0, 0, 0, 1), enabled = true }, { name = "Regulus", cframe = CFrame.new(40756.3125, 42.0934296, -1142.87598, 1, 0, 0, 0, 1, 0, 0, 0, 1), enabled = true }, { name = "Petelgeuse", cframe = CFrame.new(6035.05371, 84.2910385, 17261.7773, 1, 0, 0, 0, 1, 0, 0, 0, 1), enabled = true }, { name = "Pandora", cframe = CFrame.new(-3607.68848, 29.5484028, 3.84559083, 1, 0, 0, 0, 1, 0, 0, 0, 1), enabled = true } } local isRunningNpcCoords = false local teleportDelayCoords = 1 local function teleportarParaCFrame(targetCFrame) local character = player.Character local rootPart = character and character:FindFirstChild("HumanoidRootPart") if rootPart and targetCFrame then rootPart.AssemblyLinearVelocity = Vector3.zero rootPart.CFrame = targetCFrame end end local toggleCoordsBtn = Instance.new("TextButton") toggleCoordsBtn.Size = UDim2.new(1, -6, 0, 40) toggleCoordsBtn.Position = UDim2.new(0, 0, 0, 6) toggleCoordsBtn.BackgroundColor3 = Color3.fromRGB(180, 50, 50) toggleCoordsBtn.Text = "STATUS: OFF" toggleCoordsBtn.TextColor3 = Color3.fromRGB(255, 255, 255) toggleCoordsBtn.TextSize = 14 toggleCoordsBtn.Font = Enum.Font.GothamBold toggleCoordsBtn.Parent = tab3Frame local cCorner = Instance.new("UICorner") cCorner.CornerRadius = UDim.new(0, 6) cCorner.Parent = toggleCoordsBtn local delayLabelCoords = Instance.new("TextLabel") delayLabelCoords.Size = UDim2.new(0.58, 0, 0, 30) delayLabelCoords.Position = UDim2.new(0, 0, 0, 52) delayLabelCoords.BackgroundTransparency = 1 delayLabelCoords.Text = "Delay (s):" delayLabelCoords.TextColor3 = Color3.fromRGB(220, 220, 220) delayLabelCoords.TextSize = 13 delayLabelCoords.Font = Enum.Font.Gotham delayLabelCoords.TextXAlignment = Enum.TextXAlignment.Left delayLabelCoords.Parent = tab3Frame local delayBoxCoords = Instance.new("TextBox") delayBoxCoords.Size = UDim2.new(0.42, -6, 0, 30) delayBoxCoords.Position = UDim2.new(0.58, 0, 0, 52) delayBoxCoords.BackgroundColor3 = Color3.fromRGB(55, 55, 55) delayBoxCoords.Text = "1" delayBoxCoords.TextColor3 = Color3.fromRGB(255, 255, 255) delayBoxCoords.TextSize = 13 delayBoxCoords.Font = Enum.Font.GothamBold delayBoxCoords.Parent = tab3Frame local bCornerCoords = Instance.new("UICorner") bCornerCoords.CornerRadius = UDim.new(0, 6) bCornerCoords.Parent = delayBoxCoords delayBoxCoords.FocusLost:Connect(function() local newDelay = tonumber(delayBoxCoords.Text) if newDelay and newDelay >= 0.05 then teleportDelayCoords = newDelay else teleportDelayCoords = 1 delayBoxCoords.Text = "1" end end) toggleCoordsBtn.MouseButton1Click:Connect(function() isRunningNpcCoords = not isRunningNpcCoords if isRunningNpcCoords then toggleCoordsBtn.BackgroundColor3 = Color3.fromRGB(50, 180, 50) toggleCoordsBtn.Text = "STATUS: ON" else toggleCoordsBtn.BackgroundColor3 = Color3.fromRGB(180, 50, 50) toggleCoordsBtn.Text = "STATUS: OFF" end end) for i, npcData in ipairs(npcListCoords) do local yPos = 90 + ((i - 1) * 36) local rowFrame = Instance.new("Frame") rowFrame.Size = UDim2.new(1, -6, 0, 30) rowFrame.Position = UDim2.new(0, 0, 0, yPos) rowFrame.BackgroundColor3 = Color3.fromRGB(35, 35, 42) rowFrame.Parent = tab3Frame local rCorner = Instance.new("UICorner") rCorner.CornerRadius = UDim.new(0, 6) rCorner.Parent = rowFrame local checkBtn = Instance.new("TextButton") checkBtn.Size = UDim2.new(0, 22, 0, 22) checkBtn.Position = UDim2.new(0, 5, 0, 4) checkBtn.BackgroundColor3 = Color3.fromRGB(50, 165, 80) checkBtn.Text = "✓" checkBtn.TextColor3 = Color3.fromRGB(255, 255, 255) checkBtn.TextSize = 12 checkBtn.Font = Enum.Font.GothamBold checkBtn.Parent = rowFrame local chkCorner = Instance.new("UICorner") chkCorner.CornerRadius = UDim.new(0, 4) chkCorner.Parent = checkBtn checkBtn.MouseButton1Click:Connect(function() npcData.enabled = not npcData.enabled if npcData.enabled then checkBtn.BackgroundColor3 = Color3.fromRGB(50, 165, 80) checkBtn.Text = "✓" else checkBtn.BackgroundColor3 = Color3.fromRGB(65, 65, 75) checkBtn.Text = "" end end) local nameLbl = Instance.new("TextLabel") nameLbl.Size = UDim2.new(1, -78, 1, 0) nameLbl.Position = UDim2.new(0, 33, 0, 0) nameLbl.BackgroundTransparency = 1 nameLbl.Text = npcData.name nameLbl.TextColor3 = Color3.fromRGB(230, 230, 230) nameLbl.TextSize = 12 nameLbl.Font = Enum.Font.GothamSemibold nameLbl.TextXAlignment = Enum.TextXAlignment.Left nameLbl.Parent = rowFrame local singleTpBtn = Instance.new("TextButton") singleTpBtn.Size = UDim2.new(0, 38, 0, 22) singleTpBtn.Position = UDim2.new(1, -43, 0, 4) singleTpBtn.BackgroundColor3 = Color3.fromRGB(60, 120, 200) singleTpBtn.Text = "TP" singleTpBtn.TextColor3 = Color3.fromRGB(255, 255, 255) singleTpBtn.TextSize = 11 singleTpBtn.Font = Enum.Font.GothamBold singleTpBtn.Parent = rowFrame local tpCorner = Instance.new("UICorner") tpCorner.CornerRadius = UDim.new(0, 4) tpCorner.Parent = singleTpBtn singleTpBtn.MouseButton1Click:Connect(function() teleportarParaCFrame(npcData.cframe) end) end task.spawn(function() while not encerrado do if isRunningNpcCoords then local algumAtivo = false for _, npcData in ipairs(npcListCoords) do if encerrado or not isRunningNpcCoords then break end if npcData.enabled then algumAtivo = true teleportarParaCFrame(npcData.cframe) task.wait(teleportDelayCoords) end end if not algumAtivo then task.wait(0.2) end else task.wait(0.1) end end end) -- ========================================== -- ABA 4: NPC CONTROL (PATRICK NPC PANEL) -- ========================================== --1. rules: it is forbidden to change the credit name, this script was created by @im_patrick you will be charged dcma for changing the credit --2. rules: changing the code using AI and claiming it as your own is not allowed local selectedNpcLabel = Instance.new("TextLabel") selectedNpcLabel.Size = UDim2.new(1, -6, 0, 22) selectedNpcLabel.Position = UDim2.new(0, 0, 0, 4) selectedNpcLabel.BackgroundTransparency = 1 selectedNpcLabel.Text = "NPC Selecionado: Nenhum" selectedNpcLabel.TextColor3 = Color3.fromRGB(180, 220, 255) selectedNpcLabel.TextSize = 12 selectedNpcLabel.Font = Enum.Font.GothamBold selectedNpcLabel.TextXAlignment = Enum.TextXAlignment.Left selectedNpcLabel.Parent = tab4Frame local clickSelectBtn = Instance.new("TextButton") clickSelectBtn.Size = UDim2.new(1, -6, 0, 32) clickSelectBtn.Position = UDim2.new(0, 0, 0, 30) clickSelectBtn.BackgroundColor3 = Color3.fromRGB(180, 50, 50) clickSelectBtn.Text = "Selecionar NPC (Clique): OFF" clickSelectBtn.TextColor3 = Color3.fromRGB(255, 255, 255) clickSelectBtn.TextSize = 12 clickSelectBtn.Font = Enum.Font.GothamBold clickSelectBtn.Parent = tab4Frame local csCorner = Instance.new("UICorner") csCorner.CornerRadius = UDim.new(0, 6) csCorner.Parent = clickSelectBtn clickSelectBtn.MouseButton1Click:Connect(function() clickNpcEnabled = not clickNpcEnabled if clickNpcEnabled then clickSelectBtn.BackgroundColor3 = Color3.fromRGB(50, 180, 50) clickSelectBtn.Text = "Selecionar NPC (Clique): ON" else clickSelectBtn.BackgroundColor3 = Color3.fromRGB(180, 50, 50) clickSelectBtn.Text = "Selecionar NPC (Clique): OFF" end end) local ctrlY = 68 local function criarBotaoCtrl(texto, callback) local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, -6, 0, 30) btn.Position = UDim2.new(0, 0, 0, ctrlY) btn.BackgroundColor3 = Color3.fromRGB(45, 95, 165) btn.Text = texto btn.TextColor3 = Color3.fromRGB(255, 255, 255) btn.TextSize = 12 btn.Font = Enum.Font.GothamSemibold btn.Parent = tab4Frame local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0, 6) c.Parent = btn btn.MouseButton1Click:Connect(callback) ctrlY = ctrlY + 35 return btn end local function criarToggleCtrl(texto, callback) local state = false local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, -6, 0, 30) btn.Position = UDim2.new(0, 0, 0, ctrlY) btn.BackgroundColor3 = Color3.fromRGB(55, 55, 65) btn.Text = texto .. ": OFF" btn.TextColor3 = Color3.fromRGB(255, 255, 255) btn.TextSize = 12 btn.Font = Enum.Font.GothamSemibold btn.Parent = tab4Frame local c = Instance.new("UICorner") c.CornerRadius = UDim.new(0, 6) c.Parent = btn local controller = {} function controller:Set(val) state = val if state then btn.BackgroundColor3 = Color3.fromRGB(50, 165, 80) btn.Text = texto .. ": ON" else btn.BackgroundColor3 = Color3.fromRGB(55, 55, 65) btn.Text = texto .. ": OFF" end callback(state) end btn.MouseButton1Click:Connect(function() controller:Set(not state) end) ctrlY = ctrlY + 35 return controller end -- 1. ChangeState 1 criarBotaoCtrl(save["1"].title, function() if currentNpc then local part = currentNpc:FindFirstChild("HumanoidRootPart") if part and checkPartOwner(part) then local hum = currentNpc:FindFirstChildOfClass("Humanoid") if hum then hum:ChangeState(save["1"].val) end else flashHighlight(currentNpc, Color3.fromRGB(255, 0, 0)) end end end) -- 2. Bring NPC criarBotaoCtrl(save["2"].title, function() if currentNpc then local part = currentNpc:FindFirstChild("HumanoidRootPart") if part and checkPartOwner(part) then if player and player.Character then currentNpc:PivotTo(player.Character:GetPivot()) end else flashHighlight(currentNpc, Color3.fromRGB(255, 0, 0)) end end end) -- 3. Goto NPC criarBotaoCtrl(save["3"].title, function() if currentNpc then local part = currentNpc:FindFirstChild("HumanoidRootPart") if part and player and player.Character then player.Character:PivotTo(currentNpc:GetPivot()) else flashHighlight(currentNpc, Color3.fromRGB(255, 0, 0)) end end end) -- 4. Control NPC local possessConn = nil local possessToggle possessToggle = criarToggleCtrl(save["4"].title, function(enabled) if enabled then if currentNpc then local part = currentNpc:FindFirstChild("HumanoidRootPart") if part and checkPartOwner(part) and player and player.Character then originalChar = player.Character player.Character = currentNpc Workspace.CurrentCamera.CameraSubject = part local move = 0.01 possessConn = addConn(RunService.PreSimulation:Connect(function() local charNow = player.Character local hum = charNow and charNow:FindFirstChildOfClass("Humanoid") if charNow and hum and hum.RootPart then hum.RootPart.CFrame = hum.RootPart.CFrame + Vector3.new(0, move, 0) move = -move else if possessConn then possessConn:Disconnect() possessConn = nil end end end)) else flashHighlight(currentNpc, Color3.fromRGB(255, 0, 0)) task.defer(function() possessToggle:Set(false) end) end else task.defer(function() possessToggle:Set(false) end) end else if possessConn then possessConn:Disconnect() possessConn = nil end if originalChar then player.Character = originalChar local origHum = originalChar:FindFirstChildOfClass("Humanoid") if origHum then Workspace.CurrentCamera.CameraSubject = origHum end originalChar = nil end end end) -- 5. Void / Sky NPC criarBotaoCtrl(save["5"].title, function() if currentNpc then local part = currentNpc:FindFirstChild("HumanoidRootPart") if part and checkPartOwner(part) then currentNpc:PivotTo(CFrame.new(0, 1000, 0)) else flashHighlight(currentNpc, Color3.fromRGB(255, 0, 0)) end end end) -- 6. Sit NPC criarBotaoCtrl(save["6"].title, function() if currentNpc then local part = currentNpc:FindFirstChild("HumanoidRootPart") if part and checkPartOwner(part) then local hum = currentNpc:FindFirstChildOfClass("Humanoid") if hum then hum.Sit = not hum.Sit end else flashHighlight(currentNpc, Color3.fromRGB(255, 0, 0)) end end end) -- 7. ChangeState 2 criarBotaoCtrl(save["7"].title, function() if currentNpc then local part = currentNpc:FindFirstChild("HumanoidRootPart") if part and checkPartOwner(part) then local hum = currentNpc:FindFirstChildOfClass("Humanoid") if hum then hum:ChangeState(save["7"].val) end else flashHighlight(currentNpc, Color3.fromRGB(255, 0, 0)) end end end) -- 8. Follow NPC local followConn = nil local followToggle followToggle = criarToggleCtrl(save["8"].title, function(enabled) if enabled then followConn = addConn(RunService.RenderStepped:Connect(function() if currentNpc then local part = currentNpc:FindFirstChild("HumanoidRootPart") if part and checkPartOwner(part) then local hum = currentNpc:FindFirstChildOfClass("Humanoid") local hrp = player.Character and player.Character:FindFirstChild("HumanoidRootPart") if hum and hrp then hum:MoveTo(hrp.Position + Vector3.new(-4, 0, 0)) end else flashHighlight(currentNpc, Color3.fromRGB(255, 0, 0)) followToggle:Set(false) end else followToggle:Set(false) end end)) else if followConn then followConn:Disconnect() followConn = nil end end end) -- 9. Aura 1 local aura1Conn = nil criarToggleCtrl(save["9"].title, function(enabled) if enabled then aura1Conn = addConn(RunService.Stepped:Connect(function() local hrp1 = player.Character and player.Character:FindFirstChild("HumanoidRootPart") if not hrp1 then return end local nbp = Workspace:GetPartBoundsInRadius(hrp1.Position, 13) for _, part in pairs(nbp) do local model = part:FindFirstAncestorOfClass("Model") if model and isNpcModel(model) and model ~= player.Character then local hrp = model:FindFirstChild("HumanoidRootPart") if hrp and checkPartOwner(hrp) and not hrp.Anchored then local hum = model:FindFirstChildOfClass("Humanoid") if hum then hum:ChangeState(save["9"].val) end end end end end)) else if aura1Conn then aura1Conn:Disconnect() aura1Conn = nil end end end) -- 10. Aura 2 local aura2Conn = nil criarToggleCtrl(save["10"].title, function(enabled) if enabled then aura2Conn = addConn(RunService.Stepped:Connect(function() local hrp1 = player.Character and player.Character:FindFirstChild("HumanoidRootPart") if not hrp1 then return end local nbp = Workspace:GetPartBoundsInRadius(hrp1.Position, 13) for _, part in pairs(nbp) do local model = part:FindFirstAncestorOfClass("Model") if model and isNpcModel(model) and model ~= player.Character then local hrp = model:FindFirstChild("HumanoidRootPart") if hrp and checkPartOwner(hrp) and not hrp.Anchored then local hum = model:FindFirstChildOfClass("Humanoid") if hum then hum:ChangeState(save["10"].val) end end end end end)) else if aura2Conn then aura2Conn:Disconnect() aura2Conn = nil end end end) tab4Frame.CanvasSize = UDim2.new(0, 0, 0, ctrlY + 10) addConn(mouse.Button1Down:Connect(function() if not clickNpcEnabled or not mouse.Target then return end local model = mouse.Target:FindFirstAncestorOfClass("Model") local hrp = model and model:FindFirstChild("HumanoidRootPart") if model and hrp then if not hrp.Anchored and not Players:GetPlayerFromCharacter(model) then if checkPartOwner(hrp) then currentNpc = model selectedNpcLabel.Text = "NPC Selecionado: " .. model.Name flashHighlight(currentNpc, Color3.fromRGB(0, 255, 0)) else flashHighlight(model, Color3.fromRGB(255, 0, 0)) end else flashHighlight(model, Color3.fromRGB(255, 0, 0)) end end end)) addConn(RunService.RenderStepped:Connect(function() if sethiddenproperty then pcall(sethiddenproperty, player, "SimulationRadius", simRadius) else pcall(function() player.SimulationRadius = simRadius end) end end)) -- ========================================== -- ABA 5: CUSTOM TELEPORT -- ========================================== local savedLocations = {} local markers = {} local isRunningCustom = false local teleportDelayCustom = 1 local avisoSemLocal = false local countLabelCustom = Instance.new("TextLabel") countLabelCustom.Size = UDim2.new(1, 0, 0, 20) countLabelCustom.Position = UDim2.new(0, 0, 0, 5) countLabelCustom.BackgroundTransparency = 1 countLabelCustom.Text = "Saved Locations: 0" countLabelCustom.TextColor3 = Color3.fromRGB(180, 220, 255) countLabelCustom.TextSize = 12 countLabelCustom.Font = Enum.Font.GothamBold countLabelCustom.TextXAlignment = Enum.TextXAlignment.Left countLabelCustom.Parent = tab5Frame local saveButton = Instance.new("TextButton") saveButton.Size = UDim2.new(1, 0, 0, 32) saveButton.Position = UDim2.new(0, 0, 0, 30) saveButton.BackgroundColor3 = Color3.fromRGB(45, 110, 190) saveButton.Text = "Save Location" saveButton.TextColor3 = Color3.fromRGB(255, 255, 255) saveButton.TextSize = 13 saveButton.Font = Enum.Font.GothamBold saveButton.Parent = tab5Frame local sCorner = Instance.new("UICorner") sCorner.CornerRadius = UDim.new(0, 6) sCorner.Parent = saveButton local undoButton = Instance.new("TextButton") undoButton.Size = UDim2.new(0.48, 0, 0, 32) undoButton.Position = UDim2.new(0, 0, 0, 68) undoButton.BackgroundColor3 = Color3.fromRGB(180, 120, 40) undoButton.Text = "Undo" undoButton.TextColor3 = Color3.fromRGB(255, 255, 255) undoButton.TextSize = 13 undoButton.Font = Enum.Font.GothamBold undoButton.Parent = tab5Frame local uCorner = Instance.new("UICorner") uCorner.CornerRadius = UDim.new(0, 6) uCorner.Parent = undoButton local clearButton = Instance.new("TextButton") clearButton.Size = UDim2.new(0.48, 0, 0, 32) clearButton.Position = UDim2.new(0.52, 0, 0, 68) clearButton.BackgroundColor3 = Color3.fromRGB(120, 40, 40) clearButton.Text = "Clear All" clearButton.TextColor3 = Color3.fromRGB(255, 255, 255) clearButton.TextSize = 13 clearButton.Font = Enum.Font.GothamBold clearButton.Parent = tab5Frame local cCorner = Instance.new("UICorner") cCorner.CornerRadius = UDim.new(0, 6) cCorner.Parent = clearButton local toggleCustomBtn = Instance.new("TextButton") toggleCustomBtn.Size = UDim2.new(1, 0, 0, 38) toggleCustomBtn.Position = UDim2.new(0, 0, 0, 106) toggleCustomBtn.BackgroundColor3 = Color3.fromRGB(180, 50, 50) toggleCustomBtn.Text = "STATUS: OFF" toggleCustomBtn.TextColor3 = Color3.fromRGB(255, 255, 255) toggleCustomBtn.TextSize = 13 toggleCustomBtn.Font = Enum.Font.GothamBold toggleCustomBtn.Parent = tab5Frame local tCorner = Instance.new("UICorner") tCorner.CornerRadius = UDim.new(0, 6) tCorner.Parent = toggleCustomBtn local delayLabelCustom = Instance.new("TextLabel") delayLabelCustom.Size = UDim2.new(0.6, 0, 0, 32) delayLabelCustom.Position = UDim2.new(0, 0, 0, 150) delayLabelCustom.BackgroundTransparency = 1 delayLabelCustom.Text = "Delay (s):" delayLabelCustom.TextColor3 = Color3.fromRGB(220, 220, 220) delayLabelCustom.TextSize = 13 delayLabelCustom.Font = Enum.Font.Gotham delayLabelCustom.TextXAlignment = Enum.TextXAlignment.Left delayLabelCustom.Parent = tab5Frame local delayBoxCustom = Instance.new("TextBox") delayBoxCustom.Size = UDim2.new(0.4, 0, 0, 32) delayBoxCustom.Position = UDim2.new(0.6, 0, 0, 150) delayBoxCustom.BackgroundColor3 = Color3.fromRGB(55, 55, 55) delayBoxCustom.Text = "1" delayBoxCustom.TextColor3 = Color3.fromRGB(255, 255, 255) delayBoxCustom.TextSize = 13 delayBoxCustom.Font = Enum.Font.GothamBold delayBoxCustom.Parent = tab5Frame local bCorner3 = Instance.new("UICorner") bCorner3.CornerRadius = UDim.new(0, 6) bCorner3.Parent = delayBoxCustom local function updateCounter() countLabelCustom.Text = "Saved Locations: " .. tostring(#savedLocations) end saveButton.MouseButton1Click:Connect(function() local character = player.Character local rootPart = character and character:FindFirstChild("HumanoidRootPart") if rootPart then local currentCFrame = rootPart.CFrame table.insert(savedLocations, currentCFrame) local markerPart = Instance.new("Part") markerPart.Name = "TeleportMarker" markerPart.Size = Vector3.new(1.5, 1.5, 1.5) markerPart.Shape = Enum.PartType.Ball markerPart.CFrame = currentCFrame markerPart.Anchored = true markerPart.CanCollide = false markerPart.Material = Enum.Material.Neon markerPart.Color = Color3.fromRGB(0, 255, 255) markerPart.Parent = Workspace table.insert(markers, markerPart) updateCounter() end end) undoButton.MouseButton1Click:Connect(function() if #savedLocations > 0 then table.remove(savedLocations, #savedLocations) local lastMarker = table.remove(markers, #markers) if lastMarker then lastMarker:Destroy() end updateCounter() if #savedLocations == 0 and isRunningCustom then isRunningCustom = false toggleCustomBtn.BackgroundColor3 = Color3.fromRGB(180, 50, 50) toggleCustomBtn.Text = "STATUS: OFF" end end end) clearButton.MouseButton1Click:Connect(function() savedLocations = {} for _, marker in ipairs(markers) do if marker then marker:Destroy() end end markers = {} isRunningCustom = false toggleCustomBtn.BackgroundColor3 = Color3.fromRGB(180, 50, 50) toggleCustomBtn.Text = "STATUS: OFF" updateCounter() end) delayBoxCustom.FocusLost:Connect(function() local newDelay = tonumber(delayBoxCustom.Text) if newDelay and newDelay >= 0.05 then teleportDelayCustom = newDelay else teleportDelayCustom = 1 delayBoxCustom.Text = "1" end end) toggleCustomBtn.MouseButton1Click:Connect(function() if #savedLocations == 0 and not isRunningCustom then if avisoSemLocal then return end avisoSemLocal = true toggleCustomBtn.Text = "SAVE A SPOT!" task.wait(1) if not isRunningCustom then toggleCustomBtn.Text = "STATUS: OFF" end avisoSemLocal = false return end isRunningCustom = not isRunningCustom if isRunningCustom then toggleCustomBtn.BackgroundColor3 = Color3.fromRGB(50, 180, 50) toggleCustomBtn.Text = "STATUS: ON" else toggleCustomBtn.BackgroundColor3 = Color3.fromRGB(180, 50, 50) toggleCustomBtn.Text = "STATUS: OFF" end end) task.spawn(function() while not encerrado do if isRunningCustom and #savedLocations > 0 then for _, targetCFrame in ipairs(savedLocations) do if encerrado or not isRunningCustom or #savedLocations == 0 then break end teleportarParaCFrame(targetCFrame) task.wait(teleportDelayCustom) end end task.wait(0.1) end end) -- ========================================== -- FUNÇÃO DE FECHAR HUB COMPLETO -- ========================================== local function limparTudo() encerrado = true ativoPrestige = false isRunningNpcLocal = false isRunningNpcCoords = false isRunningCustom = false clickNpcEnabled = false for _, conn in ipairs(connections) do if conn and conn.Connected then conn:Disconnect() end end connections = {} if originalChar then player.Character = originalChar local origHum = originalChar:FindFirstChildOfClass("Humanoid") if origHum then Workspace.CurrentCamera.CameraSubject = origHum end originalChar = nil end for _, marker in ipairs(markers) do if marker then marker:Destroy() end end markers = {} if highlight then highlight:Destroy() end if screenGui then screenGui:Destroy() end end closeBtn.MouseButton1Click:Connect(limparTudo) if getgenv then getgenv().MasterScriptCleanup = limparTudo end