JustPaste
HomeCategoriesAboutDonateContactTerms of UsePrivacy Policy
JustPaste

Free online notepad — write and share instantly

Navigate

  • Home
  • Timeline
  • Categories

Info

  • About
  • Donate
  • Contact

Legal

  • Terms of Use
  • Privacy Policy

© 2026 JustPaste.app. All rights reserved.

Made with ♥ by JustPaste

Diego nexus Premium | JustPaste.app
23 days ago32 views
👨‍💻Programming

Diego nexus Premium

-- DIEGO NEXUS - PREMIUM EDITION 🤖 (Con Pantalla de Carga Estilizada, Transparencias y Minimizado)
-- Creador: Diego1012153
-- ID: 11065706506

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local Workspace = game:GetService("Workspace")
local player = Players.LocalPlayer

player:SetAttribute("MonoHubActive", true)

local parentUI = player:WaitForChild("PlayerGui")
local GUI_NAME = "MonoHubCopasUI" 

if parentUI:FindFirstChild(GUI_NAME) then
	parentUI:FindFirstChild(GUI_NAME):Destroy()
end

-- Variables Globales de Estado
local slideActiva = false
local slideSpeed = 80

local airWalkActivo = false
local airWalkPart = nil
local airWalkHeight = 0

local flyActivo = false
local flySpeed = 100

local savedCFrame = nil
local customSpawnPoint = nil
local autoFarmActivo = false

local autoMoveActivo = false
local autoMoveAngle = 0

local turboModo = 1
local farmSpeed = 0.1

local duplicateVisualActive = false
local duplicatedInstances = {}

local mainColor = Color3.fromRGB(139, 92, 246)
local strokeElements = {}

-- Variables para Memoria de Estado y Transparencia
local currentCustomSize = UDim2.new(0, 500, 0, 430)
local mainMinimizado = false
local currentTransparency = 0 -- 0 = Opaco, 0.25 = Semi, 0.5 = Transparente

local screenGui = Instance.new("ScreenGui")
screenGui.Name = GUI_NAME
screenGui.ResetOnSpawn = false
screenGui.Parent = parentUI

local function addDarkStyle(instance, strokeColor, cornerRadius)
	local corner = Instance.new("UICorner")
	corner.CornerRadius = UDim.new(0, cornerRadius or 8)
	corner.Parent = instance
	
	local stroke = Instance.new("UIStroke")
	stroke.Color = strokeColor or mainColor
	stroke.Thickness = 1.3
	stroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
	stroke.Parent = instance
	
	table.insert(strokeElements, stroke)
	return stroke
end

local function createBtn(parent, text, color, strokeColor)
	local btn = Instance.new("TextButton")
	btn.Size = UDim2.new(1, 0, 0, 30)
	btn.BackgroundColor3 = color or Color3.fromRGB(20, 16, 32)
	btn.BorderSizePixel = 0
	btn.Text = text
	btn.TextColor3 = Color3.fromRGB(245, 243, 255)
	btn.TextSize = 9
	btn.Font = Enum.Font.GothamBold
	btn.Parent = parent
	addDarkStyle(btn, strokeColor or Color3.fromRGB(139, 92, 246), 6)
	return btn
end

local function createCard(parent, width, height)
	local card = Instance.new("Frame")
	card.Size = width
	card.BackgroundColor3 = Color3.fromRGB(18, 14, 28)
	card.BorderSizePixel = 0
	card.Parent = parent
	addDarkStyle(card, Color3.fromRGB(139, 92, 246), 8)
	return card
end

-- ==========================================
-- 1. PANTALLA DE CARGA (DISEÑO ESTILIZADO)
-- ==========================================
local introFrame = Instance.new("Frame")
introFrame.Size = UDim2.new(0, 420, 0, 420)
introFrame.Position = UDim2.new(0.5, -210, 0.5, -210)
introFrame.BackgroundColor3 = Color3.fromRGB(6, 4, 12)
introFrame.Active = true
introFrame.Parent = screenGui
addDarkStyle(introFrame, Color3.fromRGB(236, 72, 153), 16)

-- Marco de adorno exterior (estilo cibernético de la imagen)
local frameBorderDeco = Instance.new("Frame")
frameBorderDeco.Size = UDim2.new(1, -12, 1, -12)
frameBorderDeco.Position = UDim2.new(0, 6, 0, 6)
frameBorderDeco.BackgroundTransparency = 1
frameBorderDeco.Parent = introFrame
addDarkStyle(frameBorderDeco, Color3.fromRGB(167, 139, 250), 12)

-- Contenedor del Logo Hexagonal Superior
local logoContainer = Instance.new("Frame")
logoContainer.Size = UDim2.new(0, 76, 0, 76)
logoContainer.Position = UDim2.new(0.5, -38, 0, 18)
logoContainer.BackgroundColor3 = Color3.fromRGB(22, 14, 38)
logoContainer.Parent = introFrame
addDarkStyle(logoContainer, Color3.fromRGB(56, 189, 248), 20)

local logoTextD = Instance.new("TextLabel")
logoTextD.Size = UDim2.new(1, 0, 1, 0)
logoTextD.BackgroundTransparency = 1
logoTextD.Text = "D"
logoTextD.TextColor3 = Color3.fromRGB(236, 72, 153)
logoTextD.TextSize = 40
logoTextD.Font = Enum.Font.GothamBlack
logoTextD.Parent = logoContainer

-- Título Principal "DIEGO NEXUS"
local titleNexusMain = Instance.new("TextLabel")
titleNexusMain.Size = UDim2.new(1, 0, 0, 30)
titleNexusMain.Position = UDim2.new(0, 0, 0, 102)
titleNexusMain.BackgroundTransparency = 1
titleNexusMain.Text = "DIEGO NEXUS"
titleNexusMain.TextColor3 = Color3.fromRGB(245, 243, 255)
titleNexusMain.TextSize = 22
titleNexusMain.Font = Enum.Font.GothamBlack
titleNexusMain.Parent = introFrame

-- Subtítulo "PREMIUM EDITION"
local titleEdition = Instance.new("TextLabel")
titleEdition.Size = UDim2.new(1, 0, 0, 20)
titleEdition.Position = UDim2.new(0, 0, 0, 132)
titleEdition.BackgroundTransparency = 1
titleEdition.Text = "—  P R E M I U M   E D I T I O N  —"
titleEdition.TextColor3 = Color3.fromRGB(236, 72, 153)
titleEdition.TextSize = 10
titleEdition.Font = Enum.Font.GothamBold
titleEdition.Parent = introFrame

-- Caja de Creador Estilizada con Coronas
local creatorBox = Instance.new("Frame")
creatorBox.Size = UDim2.new(0, 320, 0, 28)
creatorBox.Position = UDim2.new(0.5, -160, 0, 162)
creatorBox.BackgroundColor3 = Color3.fromRGB(16, 10, 28)
creatorBox.Parent = introFrame
addDarkStyle(creatorBox, Color3.fromRGB(236, 72, 153), 14)

local introCreator = Instance.new("TextLabel")
introCreator.Size = UDim2.new(1, 0, 1, 0)
introCreator.BackgroundTransparency = 1
introCreator.Text = "👑  CREADO POR DIEGO1012153  👑"
introCreator.TextColor3 = Color3.fromRGB(245, 243, 255)
introCreator.TextSize = 9
introCreator.Font = Enum.Font.GothamBold
introCreator.Parent = creatorBox

-- Estado de Carga
local loadStatus = Instance.new("TextLabel")
loadStatus.Size = UDim2.new(1, 0, 0, 16)
loadStatus.Position = UDim2.new(0, 0, 0, 202)
loadStatus.BackgroundTransparency = 1
loadStatus.Text = "—  INICIALIZANDO INTERFAZ  —"
loadStatus.TextColor3 = Color3.fromRGB(167, 139, 250)
loadStatus.TextSize = 9
loadStatus.Font = Enum.Font.GothamBold
loadStatus.Parent = introFrame

-- Porcentaje Grande
local percentLabel = Instance.new("TextLabel")
percentLabel.Size = UDim2.new(1, 0, 0, 36)
percentLabel.Position = UDim2.new(0, 0, 0, 222)
percentLabel.BackgroundTransparency = 1
percentLabel.Text = "0%"
percentLabel.TextColor3 = Color3.fromRGB(236, 72, 153)
percentLabel.TextSize = 28
percentLabel.Font = Enum.Font.GothamBlack
percentLabel.Parent = introFrame

-- Barra de Progreso Avanzada
local loadBackground = Instance.new("Frame")
loadBackground.Size = UDim2.new(0.85, 0, 0, 14)
loadBackground.Position = UDim2.new(0.075, 0, 0, 274)
loadBackground.BackgroundColor3 = Color3.fromRGB(12, 8, 20)
loadBackground.Parent = introFrame
addDarkStyle(loadBackground, Color3.fromRGB(139, 92, 246), 7)

local loadBar = Instance.new("Frame")
loadBar.Size = UDim2.new(0, 0, 1, 0)
loadBar.BackgroundColor3 = Color3.fromRGB(236, 72, 153)
loadBar.Parent = loadBackground
addDarkStyle(loadBar, Color3.fromRGB(244, 114, 182), 7)

-- Texto Inferior Secundario
local subLoadText = Instance.new("TextLabel")
subLoadText.Size = UDim2.new(1, 0, 0, 16)
subLoadText.Position = UDim2.new(0, 0, 0, 300)
subLoadText.BackgroundTransparency = 1
subLoadText.Text = "CARGANDO MÓDULOS..."
subLoadText.TextColor3 = Color3.fromRGB(161, 161, 181)
subLoadText.TextSize = 9
subLoadText.Font = Enum.Font.GothamBold
subLoadText.Parent = introFrame

-- Puntos Indicadores Inferiores (Estilo diseño de imagen)
local dotsContainer = Instance.new("Frame")
dotsContainer.Size = UDim2.new(0, 60, 0, 10)
dotsContainer.Position = UDim2.new(0.5, -30, 0, 335)
dotsContainer.BackgroundTransparency = 1
dotsContainer.Parent = introFrame

local dot1 = Instance.new("Frame")
dot1.Size = UDim2.new(0, 8, 0, 8)
dot1.Position = UDim2.new(0, 0, 0, 0)
dot1.BackgroundColor3 = Color3.fromRGB(139, 92, 246)
dot1.Parent = dotsContainer
addDarkStyle(dot1, Color3.fromRGB(139, 92, 246), 4)

local dot2 = Instance.new("Frame")
dot2.Size = UDim2.new(0, 8, 0, 8)
dot2.Position = UDim2.new(0, 24, 0, 0)
dot2.BackgroundColor3 = Color3.fromRGB(236, 72, 153)
dot2.Parent = dotsContainer
addDarkStyle(dot2, Color3.fromRGB(236, 72, 153), 4)

local dot3 = Instance.new("Frame")
dot3.Size = UDim2.new(0, 8, 0, 8)
dot3.Position = UDim2.new(0, 48, 0, 0)
dot3.BackgroundColor3 = Color3.fromRGB(139, 92, 246)
dot3.Parent = dotsContainer
addDarkStyle(dot3, Color3.fromRGB(139, 92, 246), 4)


-- ==========================================
-- 2. VENTANA PRINCIPAL
-- ==========================================
local mainFrame = Instance.new("Frame")
mainFrame.Size = currentCustomSize
mainFrame.Position = UDim2.new(0.5, -250, 0.5, -215)
mainFrame.BackgroundColor3 = Color3.fromRGB(8, 6, 14)
mainFrame.BackgroundTransparency = currentTransparency
mainFrame.Active = true
mainFrame.Draggable = true
mainFrame.Visible = false
mainFrame.Parent = screenGui
addDarkStyle(mainFrame, mainColor, 12)

local topBar = Instance.new("Frame")
topBar.Size = UDim2.new(1, 0, 0, 48)
topBar.BackgroundColor3 = Color3.fromRGB(14, 10, 24)
topBar.BackgroundTransparency = currentTransparency
topBar.Parent = mainFrame
addDarkStyle(topBar, mainColor, 12)

local logoD = Instance.new("TextLabel")
logoD.Size = UDim2.new(0, 32, 0, 32)
logoD.Position = UDim2.new(0, 10, 0, 8)
logoD.BackgroundColor3 = Color3.fromRGB(26, 16, 44)
logoD.Text = "D"
logoD.TextColor3 = Color3.fromRGB(236, 72, 153)
logoD.TextSize = 16
logoD.Font = Enum.Font.GothamBlack
logoD.Parent = topBar
addDarkStyle(logoD, Color3.fromRGB(244, 114, 182), 16)

local titleLabel = Instance.new("TextLabel")
titleLabel.Size = UDim2.new(0, 180, 0, 16)
titleLabel.Position = UDim2.new(0, 50, 0, 8)
titleLabel.BackgroundTransparency = 1
titleLabel.Text = "DIEGO NEXUS"
titleLabel.TextColor3 = Color3.fromRGB(245, 243, 255)
titleLabel.TextSize = 11
titleLabel.Font = Enum.Font.GothamBlack
titleLabel.TextXAlignment = Enum.TextXAlignment.Left
titleLabel.Parent = topBar

local creatorLabel = Instance.new("TextLabel")
creatorLabel.Size = UDim2.new(0, 180, 0, 14)
creatorLabel.Position = UDim2.new(0, 50, 0, 24)
creatorLabel.BackgroundTransparency = 1
creatorLabel.Text = "By Diego1012153"
creatorLabel.TextColor3 = Color3.fromRGB(167, 139, 250)
creatorLabel.TextSize = 8
creatorLabel.Font = Enum.Font.GothamBold
creatorLabel.TextXAlignment = Enum.TextXAlignment.Left
creatorLabel.Parent = topBar

local btnMinMain = Instance.new("TextButton")
btnMinMain.Size = UDim2.new(0, 24, 0, 24)
btnMinMain.Position = UDim2.new(1, -34, 0, 12)
btnMinMain.BackgroundColor3 = Color3.fromRGB(24, 18, 40)
btnMinMain.Text = "➖"
btnMinMain.TextColor3 = Color3.fromRGB(245, 243, 255)
btnMinMain.TextSize = 9
btnMinMain.Parent = topBar
addDarkStyle(btnMinMain, mainColor, 6)

local tabNav = Instance.new("Frame")
tabNav.Size = UDim2.new(0, 260, 0, 28)
tabNav.Position = UDim2.new(0, 12, 0, 56)
tabNav.BackgroundTransparency = 1
tabNav.Parent = mainFrame

local btnTabPrincipal = Instance.new("TextButton")
btnTabPrincipal.Size = UDim2.new(0.48, 0, 1, 0)
btnTabPrincipal.Position = UDim2.new(0, 0, 0, 0)
btnTabPrincipal.BackgroundColor3 = Color3.fromRGB(32, 20, 54)
btnTabPrincipal.Text = "🏠 PRINCIPAL"
btnTabPrincipal.TextColor3 = Color3.fromRGB(245, 243, 255)
btnTabPrincipal.TextSize = 9
btnTabPrincipal.Font = Enum.Font.GothamBold
btnTabPrincipal.Parent = tabNav
addDarkStyle(btnTabPrincipal, mainColor, 6)

local btnTabAjustes = Instance.new("TextButton")
btnTabAjustes.Size = UDim2.new(0.48, 0, 1, 0)
btnTabAjustes.Position = UDim2.new(0.52, 0, 0, 0)
btnTabAjustes.BackgroundColor3 = Color3.fromRGB(14, 10, 24)
btnTabAjustes.Text = "⚙️ AJUSTES"
btnTabAjustes.TextColor3 = Color3.fromRGB(161, 161, 181)
btnTabAjustes.TextSize = 9
btnTabAjustes.Font = Enum.Font.GothamBold
btnTabAjustes.Parent = tabNav
addDarkStyle(btnTabAjustes, Color3.fromRGB(45, 35, 70), 6)

-- ==========================================
-- 3. CONTENEDORES DE PÁGINAS
-- ==========================================
local pagePrincipal = Instance.new("ScrollingFrame")
pagePrincipal.Size = UDim2.new(1, -24, 1, -96)
pagePrincipal.Position = UDim2.new(0, 12, 0, 90)
pagePrincipal.BackgroundTransparency = 1
pagePrincipal.ScrollBarThickness = 4
pagePrincipal.ScrollBarImageColor3 = mainColor
pagePrincipal.CanvasSize = UDim2.new(0, 0, 0, 400)
pagePrincipal.Parent = mainFrame

local pageAjustes = Instance.new("ScrollingFrame")
pageAjustes.Size = UDim2.new(1, -24, 1, -96)
pageAjustes.Position = UDim2.new(0, 12, 0, 90)
pageAjustes.BackgroundTransparency = 1
pageAjustes.Visible = false
pageAjustes.ScrollBarThickness = 4
pageAjustes.ScrollBarImageColor3 = mainColor
pageAjustes.CanvasSize = UDim2.new(0, 0, 0, 360)
pageAjustes.Parent = mainFrame

-- ==========================================
-- 4. CONTENIDO PESTAÑA PRINCIPAL
-- ==========================================
local cardMovilidad = createCard(pagePrincipal, UDim2.new(0, 226, 0, 290), 290)
cardMovilidad.Position = UDim2.new(0, 0, 0, 0)

local movLayout = Instance.new("UIListLayout")
movLayout.Padding = UDim.new(0, 5)
movLayout.SortOrder = Enum.SortOrder.LayoutOrder
movLayout.Parent = cardMovilidad

local padMov = Instance.new("UIPadding")
padMov.PaddingTop = UDim.new(0, 8)
padMov.PaddingBottom = UDim.new(0, 8)
padMov.PaddingLeft = UDim.new(0, 8)
padMov.PaddingRight = UDim.new(0, 8)
padMov.Parent = cardMovilidad

local secMovTitle = Instance.new("TextLabel")
secMovTitle.Size = UDim2.new(1, 0, 0, 16)
secMovTitle.BackgroundTransparency = 1
secMovTitle.Text = "⚡ MOVILIDAD"
secMovTitle.TextColor3 = Color3.fromRGB(167, 139, 250)
secMovTitle.TextSize = 9
secMovTitle.Font = Enum.Font.GothamBold
secMovTitle.TextXAlignment = Enum.TextXAlignment.Left
secMovTitle.Parent = cardMovilidad

local lblVel = Instance.new("TextLabel")
lblVel.Size = UDim2.new(1, 0, 0, 14)
lblVel.BackgroundTransparency = 1
lblVel.Text = "💨 DESLIZAMIENTO: 80"
lblVel.TextColor3 = Color3.fromRGB(245, 243, 255)
lblVel.TextSize = 8
lblVel.Font = Enum.Font.Gotham
lblVel.TextXAlignment = Enum.TextXAlignment.Left
lblVel.Parent = cardMovilidad

local btnSlide = createBtn(cardMovilidad, "[ DESLIZAR: OFF ]", Color3.fromRGB(16, 12, 26))

local subVel = Instance.new("Frame")
subVel.Size = UDim2.new(1, 0, 0, 26)
subVel.BackgroundTransparency = 1
subVel.Parent = cardMovilidad

local btnVelU = createBtn(subVel, "+ FUERZA", Color3.fromRGB(24, 18, 38))
btnVelU.Size = UDim2.new(0.48, 0, 1, 0)
local btnVelD = createBtn(subVel, "- FUERZA", Color3.fromRGB(24, 18, 38))
btnVelD.Size = UDim2.new(0.48, 0, 1, 0)
btnVelD.Position = UDim2.new(0.52, 0, 0, 0)

local btnAirWalk = createBtn(cardMovilidad, "[ CAMINAR EN AIRE: OFF ]", Color3.fromRGB(16, 12, 26))

local lblFly = Instance.new("TextLabel")
lblFly.Size = UDim2.new(1, 0, 0, 14)
lblFly.BackgroundTransparency = 1
lblFly.Text = "🚀 VELOCIDAD VUELO: 100"
lblFly.TextColor3 = Color3.fromRGB(245, 243, 255)
lblFly.TextSize = 8
lblFly.Font = Enum.Font.Gotham
lblFly.TextXAlignment = Enum.TextXAlignment.Left
lblFly.Parent = cardMovilidad

local btnFly = createBtn(cardMovilidad, "[ VUELO CÁMARA: OFF ]", Color3.fromRGB(16, 12, 26))

local subFly = Instance.new("Frame")
subFly.Size = UDim2.new(1, 0, 0, 26)
subFly.BackgroundTransparency = 1
subFly.Parent = cardMovilidad

local btnFlyU = createBtn(subFly, "+ VUELO", Color3.fromRGB(24, 18, 38))
btnFlyU.Size = UDim2.new(0.48, 0, 1, 0)
local btnFlyD = createBtn(subFly, "- VUELO", Color3.fromRGB(24, 18, 38))
btnFlyD.Size = UDim2.new(0.48, 0, 1, 0)
btnFlyD.Position = UDim2.new(0.52, 0, 0, 0)

local cardFarm = createCard(pagePrincipal, UDim2.new(0, 234, 0, 195), 195)
cardFarm.Position = UDim2.new(0, 236, 0, 0)

local farmLayout = Instance.new("UIListLayout")
farmLayout.Padding = UDim.new(0, 5)
farmLayout.SortOrder = Enum.SortOrder.LayoutOrder
farmLayout.Parent = cardFarm

local padFarm = Instance.new("UIPadding")
padFarm.PaddingTop = UDim.new(0, 8)
padFarm.PaddingBottom = UDim.new(0, 8)
padFarm.PaddingLeft = UDim.new(0, 8)
padFarm.PaddingRight = UDim.new(0, 8)
padFarm.Parent = cardFarm

local secFarmTitle = Instance.new("TextLabel")
secFarmTitle.Size = UDim2.new(1, 0, 0, 16)
secFarmTitle.BackgroundTransparency = 1
secFarmTitle.Text = "🏆 AUTOFARM & ANTI-AFK"
secFarmTitle.TextColor3 = Color3.fromRGB(236, 72, 153)
secFarmTitle.TextSize = 9
secFarmTitle.Font = Enum.Font.GothamBold
secFarmTitle.TextXAlignment = Enum.TextXAlignment.Left
secFarmTitle.Parent = cardFarm

local btnSetSpawn = createBtn(cardFarm, "📍 MARCAR ZONA COPAS", Color3.fromRGB(28, 16, 38), Color3.fromRGB(236, 72, 153))
local btnTurbo = createBtn(cardFarm, "🔥 RECOLECCIÓN: 1X (NORMAL)", Color3.fromRGB(28, 16, 38), Color3.fromRGB(139, 92, 246))
local btnAutoMove = createBtn(cardFarm, "🔄 MOV. AUTO (1x1m): OFF", Color3.fromRGB(16, 12, 26), Color3.fromRGB(100, 100, 120))
local btnAutoFarm = createBtn(cardFarm, "[ AUTO-FARM: OFF ]", Color3.fromRGB(16, 12, 26), Color3.fromRGB(100, 100, 120))

local lblSpawnStatus = Instance.new("TextLabel")
lblSpawnStatus.Size = UDim2.new(1, 0, 0, 14)
lblSpawnStatus.BackgroundTransparency = 1
lblSpawnStatus.Text = "ESTADO: ESPERANDO MARCA…"
lblSpawnStatus.TextColor3 = Color3.fromRGB(161, 161, 181)
lblSpawnStatus.TextSize = 8
lblSpawnStatus.Font = Enum.Font.GothamBold
lblSpawnStatus.Parent = cardFarm

local cardDupl = createCard(pagePrincipal, UDim2.new(0, 234, 0, 88), 88)
cardDupl.Position = UDim2.new(0, 236, 0, 202)

local duplLayout = Instance.new("UIListLayout")
duplLayout.Padding = UDim.new(0, 5)
duplLayout.SortOrder = Enum.SortOrder.LayoutOrder
duplLayout.Parent = cardDupl

local padDupl = Instance.new("UIPadding")
padDupl.PaddingTop = UDim.new(0, 8)
padDupl.PaddingBottom = UDim.new(0, 8)
padDupl.PaddingLeft = UDim.new(0, 8)
padDupl.PaddingRight = UDim.new(0, 8)
padDupl.Parent = cardDupl

local secDuplTitle = Instance.new("TextLabel")
secDuplTitle.Size = UDim2.new(1, 0, 0, 16)
secDuplTitle.BackgroundTransparency = 1
secDuplTitle.Text = "📦 DUPLICADOR VISUAL"
secDuplTitle.TextColor3 = Color3.fromRGB(236, 72, 153)
secDuplTitle.TextSize = 9
secDuplTitle.Font = Enum.Font.GothamBold
secDuplTitle.TextXAlignment = Enum.TextXAlignment.Left
secDuplTitle.Parent = cardDupl

local btnDuplicateVisual = createBtn(cardDupl, "[ DUPLICAR VISUAL: OFF ]", Color3.fromRGB(16, 12, 26), Color3.fromRGB(236, 72, 153))

local lblDuplStatus = Instance.new("TextLabel")
lblDuplStatus.Size = UDim2.new(1, 0, 0, 14)
lblDuplStatus.BackgroundTransparency = 1
lblDuplStatus.Text = "ESTADO: INACTIVO"
lblDuplStatus.TextColor3 = Color3.fromRGB(161, 161, 181)
lblDuplStatus.TextSize = 8
lblDuplStatus.Font = Enum.Font.GothamBold
lblDuplStatus.Parent = cardDupl

-- ==========================================
-- 5. CONTENIDO PESTAÑA AJUSTES
-- ==========================================
local cardThemes = createCard(pageAjustes, UDim2.new(0, 226, 0, 140), 140)
cardThemes.Position = UDim2.new(0, 0, 0, 0)

local themesLayout = Instance.new("UIListLayout")
themesLayout.Padding = UDim.new(0, 5)
themesLayout.SortOrder = Enum.SortOrder.LayoutOrder
themesLayout.Parent = cardThemes

local padThemes = Instance.new("UIPadding")
padThemes.PaddingTop = UDim.new(0, 8)
padThemes.PaddingBottom = UDim.new(0, 8)
padThemes.PaddingLeft = UDim.new(0, 8)
padThemes.PaddingRight = UDim.new(0, 8)
padThemes.Parent = cardThemes

local secAjustesTitle = Instance.new("TextLabel")
secAjustesTitle.Size = UDim2.new(1, 0, 0, 16)
secAjustesTitle.BackgroundTransparency = 1
secAjustesTitle.Text = "🎨 TEMAS DE COLOR"
secAjustesTitle.TextColor3 = Color3.fromRGB(167, 139, 250)
secAjustesTitle.TextSize = 9
secAjustesTitle.Font = Enum.Font.GothamBold
secAjustesTitle.TextXAlignment = Enum.TextXAlignment.Left
secAjustesTitle.Parent = cardThemes

local btnColorVioleta = createBtn(cardThemes, "💜 VIOLETA PREMIUM", Color3.fromRGB(32, 18, 46))
local btnColorRosa = createBtn(cardThemes, "💗 ROSA PREMIUM", Color3.fromRGB(46, 18, 36))
local btnColorVerde = createBtn(cardThemes, "💚 VERDE ESMERALDA", Color3.fromRGB(18, 40, 26))

local cardSize = createCard(pageAjustes, UDim2.new(0, 226, 0, 85), 85)
cardSize.Position = UDim2.new(0, 0, 0, 148)

local sizeLayout = Instance.new("UIListLayout")
sizeLayout.Padding = UDim.new(0, 5)
sizeLayout.SortOrder = Enum.SortOrder.LayoutOrder
sizeLayout.Parent = cardSize

local padSize = Instance.new("UIPadding")
padSize.PaddingTop = UDim.new(0, 8)
padSize.PaddingBottom = UDim.new(0, 8)
padSize.PaddingLeft = UDim.new(0, 8)
padSize.PaddingRight = UDim.new(0, 8)
padSize.Parent = cardSize

local secSizeTitle = Instance.new("TextLabel")
secSizeTitle.Size = UDim2.new(1, 0, 0, 16)
secSizeTitle.BackgroundTransparency = 1
secSizeTitle.Text = "📏 TAMAÑO DE VENTANA"
secSizeTitle.TextColor3 = Color3.fromRGB(167, 139, 250)
secSizeTitle.TextSize = 9
secSizeTitle.Font = Enum.Font.GothamBold
secSizeTitle.TextXAlignment = Enum.TextXAlignment.Left
secSizeTitle.Parent = cardSize

local subSize = Instance.new("Frame")
subSize.Size = UDim2.new(1, 0, 0, 26)
subSize.BackgroundTransparency = 1
subSize.Parent = cardSize

local btnSizeNormal = createBtn(subSize, "NORMAL", Color3.fromRGB(24, 18, 38))
btnSizeNormal.Size = UDim2.new(0.31, 0, 1, 0)
local btnSizeMediano = createBtn(subSize, "MEDIANO", Color3.fromRGB(24, 18, 38))
btnSizeMediano.Size = UDim2.new(0.32, 0, 1, 0)
btnSizeMediano.Position = UDim2.new(0.34, 0, 0, 0)
local btnSizeGrande = createBtn(subSize, "GRANDE", Color3.fromRGB(24, 18, 38))
btnSizeGrande.Size = UDim2.new(0.32, 0, 1, 0)
btnSizeGrande.Position = UDim2.new(0.68, 0, 0, 0)

-- Sección de Transparencia
local cardTransparency = createCard(pageAjustes, UDim2.new(0, 226, 0, 85), 85)
cardTransparency.Position = UDim2.new(0, 0, 0, 240)

local transLayout = Instance.new("UIListLayout")
transLayout.Padding = UDim.new(0, 5)
transLayout.SortOrder = Enum.SortOrder.LayoutOrder
transLayout.Parent = cardTransparency

local padTrans = Instance.new("UIPadding")
padTrans.PaddingTop = UDim.new(0, 8)
padTrans.PaddingBottom = UDim.new(0, 8)
padTrans.PaddingLeft = UDim.new(0, 8)
padTrans.PaddingRight = UDim.new(0, 8)
padTrans.Parent = cardTransparency

local secTransTitle = Instance.new("TextLabel")
secTransTitle.Size = UDim2.new(1, 0, 0, 16)
secTransTitle.BackgroundTransparency = 1
secTransTitle.Text = "👻 OPACIDAD / TRANSPARENCIA"
secTransTitle.TextColor3 = Color3.fromRGB(167, 139, 250)
secTransTitle.TextSize = 9
secTransTitle.Font = Enum.Font.GothamBold
secTransTitle.TextXAlignment = Enum.TextXAlignment.Left
secTransTitle.Parent = cardTransparency

local subTrans = Instance.new("Frame")
subTrans.Size = UDim2.new(1, 0, 0, 26)
subTrans.BackgroundTransparency = 1
subTrans.Parent = cardTransparency

local btnTransSolid = createBtn(subTrans, "SÓLIDO", Color3.fromRGB(24, 18, 38))
btnTransSolid.Size = UDim2.new(0.31, 0, 1, 0)
local btnTransSemi = createBtn(subTrans, "SEMI", Color3.fromRGB(24, 18, 38))
btnTransSemi.Size = UDim2.new(0.32, 0, 1, 0)
btnTransSemi.Position = UDim2.new(0.34, 0, 0, 0)
local btnTransClear = createBtn(subTrans, "TRANSP.", Color3.fromRGB(24, 18, 38))
btnTransClear.Size = UDim2.new(0.32, 0, 1, 0)
btnTransClear.Position = UDim2.new(0.68, 0, 0, 0)

local cardUsers = createCard(pageAjustes, UDim2.new(0, 234, 0, 315), 315)
cardUsers.Position = UDim2.new(0, 236, 0, 0)

local usersCardLayout = Instance.new("UIListLayout")
usersCardLayout.Padding = UDim.new(0, 5)
usersCardLayout.SortOrder = Enum.SortOrder.LayoutOrder
usersCardLayout.Parent = cardUsers

local padUsersCard = Instance.new("UIPadding")
padUsersCard.PaddingTop = UDim.new(0, 8)
padUsersCard.PaddingBottom = UDim.new(0, 8)
padUsersCard.PaddingLeft = UDim.new(0, 8)
padUsersCard.PaddingRight = UDim.new(0, 8)
padUsersCard.Parent = cardUsers

local lblUsersCount = Instance.new("TextLabel")
lblUsersCount.Size = UDim2.new(1, 0, 0, 16)
lblUsersCount.BackgroundTransparency = 1
lblUsersCount.Text = "👥 USUARIOS DEL SCRIPT (1)"
lblUsersCount.TextColor3 = Color3.fromRGB(236, 72, 153)
lblUsersCount.TextSize = 9
lblUsersCount.Font = Enum.Font.GothamBold
lblUsersCount.TextXAlignment = Enum.TextXAlignment.Left
lblUsersCount.Parent = cardUsers

local usersFrame = Instance.new("ScrollingFrame")
usersFrame.Size = UDim2.new(1, 0, 0, 260)
usersFrame.BackgroundColor3 = Color3.fromRGB(12, 10, 20)
usersFrame.BackgroundTransparency = 0.2
usersFrame.CanvasSize = UDim2.new(0, 0, 0, 0)
usersFrame.ScrollBarThickness = 4
usersFrame.Parent = cardUsers
addDarkStyle(usersFrame, Color3.fromRGB(50, 38, 80), 6)

local usersLayout = Instance.new("UIListLayout")
usersLayout.Padding = UDim.new(0, 4)
usersLayout.Parent = usersFrame

local function updateActiveUsers()
	for _, child in pairs(usersFrame:GetChildren()) do
		if child:IsA("Frame") or child:IsA("TextLabel") then child:Destroy() end
	end
	
	local count = 0
	for _, p in pairs(Players:GetPlayers()) do
		if p:GetAttribute("MonoHubActive") == true then
			count = count + 1
			local userCard = Instance.new("Frame")
			userCard.Size = UDim2.new(1, -6, 0, 22)
			userCard.BackgroundColor3 = Color3.fromRGB(20, 16, 32)
			userCard.Parent = usersFrame
			addDarkStyle(userCard, Color3.fromRGB(139, 92, 246), 4)

			local uLabel = Instance.new("TextLabel")
			uLabel.Size = UDim2.new(1, -8, 1, 0)
			uLabel.Position = UDim2.new(0, 8, 0, 0)
			uLabel.BackgroundTransparency = 1
			uLabel.Text = "🟢  " .. p.Name
			uLabel.TextColor3 = Color3.fromRGB(245, 243, 255)
			uLabel.TextSize = 8
			uLabel.Font = Enum.Font.GothamBold
			uLabel.TextXAlignment = Enum.TextXAlignment.Left
			uLabel.Parent = userCard
		end
	end
	
	lblUsersCount.Text = "👥 USUARIOS DEL SCRIPT (" .. tostring(count) .. ")"
	usersFrame.CanvasSize = UDim2.new(0, 0, 0, count * 26)
end

-- ==========================================
-- 6. EVENTOS Y NAVEGACIÓN INTELIGENTE
-- ==========================================
btnTabPrincipal.MouseButton1Click:Connect(function()
	pagePrincipal.Visible = true
	pageAjustes.Visible = false
	btnTabPrincipal.BackgroundColor3 = Color3.fromRGB(32, 20, 54)
	btnTabPrincipal.TextColor3 = Color3.fromRGB(245, 243, 255)
	btnTabAjustes.BackgroundColor3 = Color3.fromRGB(14, 10, 24)
	btnTabAjustes.TextColor3 = Color3.fromRGB(161, 161, 181)
end)

btnTabAjustes.MouseButton1Click:Connect(function()
	pagePrincipal.Visible = false
	pageAjustes.Visible = true
	btnTabAjustes.BackgroundColor3 = Color3.fromRGB(32, 20, 54)
	btnTabAjustes.TextColor3 = Color3.fromRGB(245, 243, 255)
	btnTabPrincipal.BackgroundColor3 = Color3.fromRGB(14, 10, 24)
	btnTabPrincipal.TextColor3 = Color3.fromRGB(161, 161, 181)
	updateActiveUsers()
end)

local function updateThemeColor(newColor)
	mainColor = newColor
	pagePrincipal.ScrollBarImageColor3 = newColor
	pageAjustes.ScrollBarImageColor3 = newColor
	for _, stroke in pairs(strokeElements) do
		if stroke and stroke.Parent then stroke.Color = newColor end
	end
end

btnColorVioleta.MouseButton1Click:Connect(function() updateThemeColor(Color3.fromRGB(139, 92, 246)) end)
btnColorRosa.MouseButton1Click:Connect(function() updateThemeColor(Color3.fromRGB(236, 72, 153)) end)
btnColorVerde.MouseButton1Click:Connect(function() updateThemeColor(Color3.fromRGB(34, 197, 94)) end)

btnTransSolid.MouseButton1Click:Connect(function()
	currentTransparency = 0
	mainFrame.BackgroundTransparency = currentTransparency
	topBar.BackgroundTransparency = currentTransparency
end)

btnTransSemi.MouseButton1Click:Connect(function()
	currentTransparency = 0.25
	mainFrame.BackgroundTransparency = currentTransparency
	topBar.BackgroundTransparency = currentTransparency
end)

btnTransClear.MouseButton1Click:Connect(function()
	currentTransparency = 0.5
	mainFrame.BackgroundTransparency = currentTransparency
	topBar.BackgroundTransparency = currentTransparency
end)

btnSizeNormal.MouseButton1Click:Connect(function() 
	currentCustomSize = UDim2.new(0, 500, 0, 430)
	if not mainMinimizado then mainFrame.Size = currentCustomSize end 
end)
btnSizeMediano.MouseButton1Click:Connect(function() 
	currentCustomSize = UDim2.new(0, 530, 0, 470)
	if not mainMinimizado then mainFrame.Size = currentCustomSize end 
end)
btnSizeGrande.MouseButton1Click:Connect(function() 
	currentCustomSize = UDim2.new(0, 560, 0, 510)
	if not mainMinimizado then mainFrame.Size = currentCustomSize end 
end)

btnMinMain.MouseButton1Click:Connect(function()
	mainMinimizado = not mainMinimizado
	
	if mainMinimizado then
		tabNav.Visible = false
		pagePrincipal.Visible = false
		pageAjustes.Visible = false
		mainFrame.Size = UDim2.new(currentCustomSize.X.Scale, currentCustomSize.X.Offset, 0, 48)
		btnMinMain.Text = "➕"
	else
		tabNav.Visible = true
		mainFrame.Size = currentCustomSize
		if btnTabPrincipal.BackgroundColor3 == Color3.fromRGB(32, 20, 54) then
			pagePrincipal.Visible = true
			pageAjustes.Visible = false
		else
			pagePrincipal.Visible = false
			pageAjustes.Visible = true
		end
		btnMinMain.Text = "➖"
	end
end)

task.spawn(function()
	for i = 1, 100 do
		loadBar.Size = UDim2.new(i / 100, 0, 1, 0)
		percentLabel.Text = tostring(i) .. "%"
		if i == 30 then
			loadStatus.Text = "—  CARGANDO MÓDULOS DE RED  —"
			subLoadText.Text = "SINCRONIZANDO NODO..."
		elseif i == 65 then
			loadStatus.Text = "—  OPTIMIZANDO INTERFAZ HUD  —"
			subLoadText.Text = "CARGANDO ESTILOS VISUALES..."
		elseif i == 90 then
			loadStatus.Text = "—  LISTO PARA EJECUTAR  —"
			subLoadText.Text = "INICIANDO COMPONENTES..."
		end
		task.wait(0.015)
	end
	introFrame:Destroy()
	mainFrame.Visible = true
end)

btnDuplicateVisual.MouseButton1Click:Connect(function()
	duplicateVisualActive = not duplicateVisualActive
	btnDuplicateVisual.Text = duplicateVisualActive and "[ DUPLICAR VISUAL: ON ]" or "[ DUPLICAR VISUAL: OFF ]"
	btnDuplicateVisual.BackgroundColor3 = duplicateVisualActive and Color3.fromRGB(28, 70, 45) or Color3.fromRGB(16, 12, 26)
	
	local char = player.Character
	if duplicateVisualActive and char then
		local count = 0
		for _, item in pairs(char:GetChildren()) do
			if item:IsA("Tool") or item:IsA("Accessory") then
				local clone = item:Clone()
				clone.Parent = char
				table.insert(duplicatedInstances, clone)
				count = count + 1
			end
		end
		lblDuplStatus.Text = "ESTADO: " .. tostring(count) .. " ITEMS DUPLICADOS"
		lblDuplStatus.TextColor3 = Color3.fromRGB(34, 197, 94)
	else
		for _, clone in pairs(duplicatedInstances) do
			if clone and clone.Parent then
				clone:Destroy()
			end
		end
		duplicatedInstances = {}
		lblDuplStatus.Text = "ESTADO: INACTIVO"
		lblDuplStatus.TextColor3 = Color3.fromRGB(161, 161, 181)
	end
end)

btnTurbo.MouseButton1Click:Connect(function()
	turboModo = turboModo + 1
	if turboModo > 3 then turboModo = 1 end
	if turboModo == 1 then farmSpeed = 0.1 btnTurbo.Text = "🔥 RECOLECCIÓN: 1X (NORMAL)"
	elseif turboModo == 2 then farmSpeed = 0.04 btnTurbo.Text = "⚡ RECOLECCIÓN: 2X (TURBO)"
	elseif turboModo == 3 then farmSpeed = 0.01 btnTurbo.Text = "🚀 RECOLECCIÓN: 4X (EXTREMO)" end
end)

btnSlide.MouseButton1Click:Connect(function()
	slideActiva = not slideActiva
	btnSlide.Text = slideActiva and "[ DESLIZAR: ON ]" or "[ DESLIZAR: OFF ]"
	btnSlide.BackgroundColor3 = slideActiva and Color3.fromRGB(28, 70, 45) or Color3.fromRGB(16, 12, 26)
end)

btnVelU.MouseButton1Click:Connect(function() slideSpeed = math.min(slideSpeed + 15, 300) lblVel.Text = "💨 DESLIZAMIENTO: " .. tostring(slideSpeed) end)
btnVelD.MouseButton1Click:Connect(function() slideSpeed = math.max(slideSpeed - 15, 20) lblVel.Text = "💨 DESLIZAMIENTO: " .. tostring(slideSpeed) end)

btnAirWalk.MouseButton1Click:Connect(function()
	airWalkActivo = not airWalkActivo
	btnAirWalk.Text = airWalkActivo and "[ CAMINAR EN AIRE: ON ]" or "[ CAMINAR EN AIRE: OFF ]"
	btnAirWalk.BackgroundColor3 = airWalkActivo and Color3.fromRGB(28, 70, 45) or Color3.fromRGB(16, 12, 26)
	local char = player.Character
	if airWalkActivo and char and char:FindFirstChild("HumanoidRootPart") then
		airWalkHeight = char.HumanoidRootPart.Position.Y - 3.1
	elseif not airWalkActivo and airWalkPart then
		airWalkPart:Destroy()
		airWalkPart = nil
	end
end)

btnFly.MouseButton1Click:Connect(function()
	flyActivo = not flyActivo
	btnFly.Text = flyActivo and "[ VUELO CÁMARA: ON ]" or "[ VUELO CÁMARA: OFF ]"
	btnFly.BackgroundColor3 = flyActivo and Color3.fromRGB(28, 70, 45) or Color3.fromRGB(16, 12, 26)
end)

btnFlyU.MouseButton1Click:Connect(function() flySpeed = math.min(flySpeed + 25, 500) lblFly.Text = "🚀 VELOCIDAD VUELO: " .. tostring(flySpeed) end)
btnFlyD.MouseButton1Click:Connect(function() flySpeed = math.max(flySpeed - 25, 25) lblFly.Text = "🚀 VELOCIDAD VUELO: " .. tostring(flySpeed) end)

btnAutoMove.MouseButton1Click:Connect(function()
	autoMoveActivo = not autoMoveActivo
	btnAutoMove.Text = autoMoveActivo and "🔄 MOV. AUTO (1x1m): ON" or "🔄 MOV. AUTO (1x1m): OFF"
	btnAutoMove.BackgroundColor3 = autoMoveActivo and Color3.fromRGB(28, 70, 45) or Color3.fromRGB(16, 12, 26)
end)

local function asegurarSpawnPoint()
	if not savedCFrame then return end
	if not customSpawnPoint or not customSpawnPoint.Parent then
		local spawnLocation = Instance.new("SpawnLocation")
		spawnLocation.Size = Vector3.new(6, 0.5, 6)
		spawnLocation.CFrame = savedCFrame
		spawnLocation.Anchored = true
		spawnLocation.CanCollide = false
		spawnLocation.Transparency = 0.5
		spawnLocation.Material = Enum.Material.ForceField
		spawnLocation.BrickColor = BrickColor.new("Magenta")
		spawnLocation.Neutral = true
		spawnLocation.Name = "RobotSpawn_" .. player.Name
		spawnLocation.Parent = Workspace
		customSpawnPoint = spawnLocation
	else
		customSpawnPoint.CFrame = savedCFrame
	end
end

btnSetSpawn.MouseButton1Click:Connect(function()
	local char = player.Character
	if char and char:FindFirstChild("HumanoidRootPart") then
		savedCFrame = char.HumanoidRootPart.CFrame
		asegurarSpawnPoint()
		lblSpawnStatus.Text = "ESTADO: ZONA COPAS MARCADA"
		lblSpawnStatus.TextColor3 = Color3.fromRGB(34, 197, 94)
	end
end)

btnAutoFarm.MouseButton1Click:Connect(function()
	if not savedCFrame then
		lblSpawnStatus.Text = "ERROR: ¡MARCA LA ZONA PRIMERO!"
		lblSpawnStatus.TextColor3 = Color3.fromRGB(239, 68, 68)
		return
	end
	autoFarmActivo = not autoFarmActivo
	btnAutoFarm.Text = autoFarmActivo and "[ AUTO-FARM: ON ]" or "[ AUTO-FARM: OFF ]"
	btnAutoFarm.BackgroundColor3 = autoFarmActivo and Color3.fromRGB(28, 70, 45) or Color3.fromRGB(16, 12, 26)
end)

task.spawn(function()
	while true do
		task.wait(farmSpeed)
		if autoFarmActivo and savedCFrame then
			local char = player.Character
			if char and char:FindFirstChild("HumanoidRootPart") then
				asegurarSpawnPoint()
				if autoMoveActivo then
					autoMoveAngle = autoMoveAngle + 0.5
					local offsetX = math.cos(autoMoveAngle) * 3.5
					local offsetZ = math.sin(autoMoveAngle) * 3.5
					char.HumanoidRootPart.CFrame = savedCFrame * CFrame.new(offsetX, 0, offsetZ)
				else
					char.HumanoidRootPart.CFrame = savedCFrame
				end
			end
		end
	end
end)

RunService.Heartbeat:Connect(function()
	local char = player.Character
	if not char then return end
	local hum = char:FindFirstChildOfClass("Humanoid")
	local hrp = char:FindFirstChild("HumanoidRootPart")
	if not hum or not hrp then return end

	if airWalkActivo and not flyActivo then
		if not airWalkPart or not airWalkPart.Parent then
			airWalkPart = Instance.new("Part")
			airWalkPart.Size = Vector3.new(6, 0.4, 6)
			airWalkPart.Anchored = true
			airWalkPart.Transparency = 0.5
			airWalkPart.Material = Enum.Material.ForceField
			airWalkPart.BrickColor = BrickColor.new("Magenta")
			airWalkPart.Name = "AirWalkPlatform"
			airWalkPart.Parent = Workspace
		end
		airWalkPart.CFrame = CFrame.new(hrp.Position.X, airWalkHeight, hrp.Position.Z)
	elseif not airWalkActivo and airWalkPart then
		airWalkPart:Destroy()
		airWalkPart = nil
	end

	if slideActiva and hum.MoveDirection.Magnitude > 0 and not flyActivo then
		local currentY = hrp.AssemblyLinearVelocity.Y
		local slideDir = hum.MoveDirection * slideSpeed
		hrp.AssemblyLinearVelocity = Vector3.new(slideDir.X, currentY, slideDir.Z)
	end

	if flyActivo then
		local camera = Workspace.CurrentCamera
		hrp.AssemblyLinearVelocity = camera.CFrame.LookVector * flySpeed
	end
end)
← Back to timeline