html5-video-chat icon indicating copy to clipboard operation
html5-video-chat copied to clipboard

digimon

Open jsramirezch opened this issue 2 months ago • 0 comments

repeat wait() until game:IsLoaded() local player = game.Players.LocalPlayer repeat wait() until player:FindFirstChild("PlayerGui")

local autoSkillEnabled = false local wsActive = false local autoTargetActive = false local target = nil local RANGE = 40 -- distancia máxima para buscar enemigos

local ReplicatedStorage = game:GetService("ReplicatedStorage") local workspace = game:GetService("Workspace") local UIS = game:GetService("UserInputService")

-- GUI principal local gui = Instance.new("ScreenGui", player.PlayerGui) gui.Name = "RebootHub" gui.ResetOnSpawn = false

local frame = Instance.new("Frame", gui) frame.Size = UDim2.new(0, 260, 0, 220) frame.Position = UDim2.new(0.75, 0, 0.3, 0) frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0) frame.BackgroundTransparency = 0.6 frame.BorderSizePixel = 0 Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 12)

local stroke = Instance.new("UIStroke", frame) stroke.Thickness = 1.5 stroke.Color = Color3.fromRGB(255, 255, 255) stroke.Transparency = 0.8

-- Función arrastrar GUI local dragging, dragInput, dragStart, startPos = false local function update(input) 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 frame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 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 then dragInput = input end end) UIS.InputChanged:Connect(function(input) if input == dragInput and dragging then update(input) end end)

-- Título local title = Instance.new("TextLabel", frame) title.Text = "DIGIVICE HUB" title.Size = UDim2.new(1, -60, 0, 30) title.Position = UDim2.new(0.03, 0, 0, 0) title.BackgroundTransparency = 1 title.TextColor3 = Color3.fromRGB(255, 255, 255) title.Font = Enum.Font.FredokaOne title.TextSize = 20 title.TextXAlignment = Enum.TextXAlignment.Center

-- Botón Auto Skill local skillBtn = Instance.new("TextButton", frame) skillBtn.Size = UDim2.new(0.8, 0, 0, 30) skillBtn.Position = UDim2.new(0.1, 0, 0.15, 0) skillBtn.Text = "Activar Auto Skill" skillBtn.BackgroundColor3 = Color3.fromRGB(0, 170, 255) skillBtn.TextColor3 = Color3.fromRGB(255, 255, 255) skillBtn.Font = Enum.Font.FredokaOne skillBtn.TextSize = 18 Instance.new("UICorner", skillBtn).CornerRadius = UDim.new(0, 12)

skillBtn.MouseButton1Click:Connect(function() autoSkillEnabled = not autoSkillEnabled skillBtn.Text = autoSkillEnabled and "Desactivar Auto Skill" or "Activar Auto Skill" if autoSkillEnabled then spawn(function() while autoSkillEnabled do for _, key in ipairs({"One", "Two", "Three"}) do game:GetService("VirtualInputManager"):SendKeyEvent(true, key, false, game) wait(0.1) end wait(0.3) end end) end end)

-- Sección WalkSpeed local wsLabel = Instance.new("TextLabel", frame) wsLabel.Text = "WalkSpeed:" wsLabel.Size = UDim2.new(0.4, 0, 0, 25) wsLabel.Position = UDim2.new(0.05, 0, 0.32, 0) wsLabel.BackgroundTransparency = 1 wsLabel.TextColor3 = Color3.fromRGB(255, 255, 255) wsLabel.Font = Enum.Font.FredokaOne wsLabel.TextSize = 16 wsLabel.TextXAlignment = Enum.TextXAlignment.Left

local wsInput = Instance.new("TextBox", frame) wsInput.Size = UDim2.new(0.3, 0, 0, 25) wsInput.Position = UDim2.new(0.45, 0, 0.32, 0) wsInput.BackgroundColor3 = Color3.fromRGB(40, 40, 40) wsInput.TextColor3 = Color3.fromRGB(255, 255, 255) wsInput.Text = "16" wsInput.Font = Enum.Font.FredokaOne wsInput.TextSize = 16 wsInput.ClearTextOnFocus = false Instance.new("UICorner", wsInput).CornerRadius = UDim.new(0, 8)

local wsBtn = Instance.new("TextButton", frame) wsBtn.Size = UDim2.new(0.2, 0, 0, 25) wsBtn.Position = UDim2.new(0.78, 0, 0.32, 0) wsBtn.Text = "OFF" wsBtn.BackgroundColor3 = Color3.fromRGB(200, 60, 60) wsBtn.TextColor3 = Color3.fromRGB(255, 255, 255) wsBtn.Font = Enum.Font.FredokaOne wsBtn.TextSize = 16 Instance.new("UICorner", wsBtn).CornerRadius = UDim.new(0, 8)

wsBtn.MouseButton1Click:Connect(function() wsActive = not wsActive if wsActive then wsBtn.Text = "ON" wsBtn.BackgroundColor3 = Color3.fromRGB(0, 200, 120) spawn(function() while wsActive do local speed = tonumber(wsInput.Text) local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:FindFirstChildOfClass("Humanoid") if humanoid and speed then humanoid.WalkSpeed = speed end wait(0.2) end end) else wsBtn.Text = "OFF" wsBtn.BackgroundColor3 = Color3.fromRGB(200, 60, 60) end end)

-- Función Auto-Target local function getClosestEnemy() local closest, dist = nil, math.huge local character = player.Character or player.CharacterAdded:Wait() local hrp = character:WaitForChild("HumanoidRootPart") for _, enemy in ipairs(workspace.Collect:GetChildren()) do if enemy:FindFirstChild("RootPart") then local d = (enemy.RootPart.Position - hrp.Position).Magnitude if d < RANGE and d < dist then closest, dist = enemy, d end end end return closest end

local function autoTarget() spawn(function() while autoTargetActive do local enemy = getClosestEnemy() if enemy then target = enemy -- Resaltar enemigo if not enemy:FindFirstChild("Highlight") then local highlight = Instance.new("Highlight") highlight.Name = "Highlight" highlight.FillColor = Color3.fromRGB(0, 255, 0) highlight.OutlineColor = Color3.fromRGB(0, 255, 0) highlight.Parent = enemy end -- Atacar automáticamente ReplicatedStorage:WaitForChild("DamageEvent"):FireServer(enemy) else target = nil end wait(0.3) end end) end

-- Botón Auto-Target local targetBtn = Instance.new("TextButton", frame) targetBtn.Size = UDim2.new(0.8, 0, 0, 25) targetBtn.Position = UDim2.new(0.1, 0, 0.5, 0) targetBtn.Text = "Auto-Target OFF" targetBtn.BackgroundColor3 = Color3.fromRGB(200, 60, 60) targetBtn.TextColor3 = Color3.fromRGB(255, 255, 255) targetBtn.Font = Enum.Font.FredokaOne targetBtn.TextSize = 16 Instance.new("UICorner", targetBtn).CornerRadius = UDim.new(0, 8)

targetBtn.MouseButton1Click:Connect(function() autoTargetActive = not autoTargetActive if autoTargetActive then targetBtn.Text = "Auto-Target ON" targetBtn.BackgroundColor3 = Color3.fromRGB(0, 200, 120) autoTarget() else targetBtn.Text = "Auto-Target OFF" targetBtn.BackgroundColor3 = Color3.fromRGB(200, 60, 60) -- eliminar highlights for _, enemy in ipairs(workspace.Collect:GetChildren()) do if enemy:FindFirstChild("Highlight") then enemy.Highlight:Destroy() end end end end)

-- Botón Minimizar local minimize = Instance.new("TextButton", frame) minimize.Size = UDim2.new(0, 22, 0, 22) minimize.Position = UDim2.new(0.80, 0, 0, 4) minimize.Text = "–" minimize.BackgroundColor3 = Color3.fromRGB(60, 60, 60) minimize.TextColor3 = Color3.fromRGB(200, 200, 200) minimize.Font = Enum.Font.FredokaOne minimize.TextSize = 16 minimize.BorderSizePixel = 0 minimize.BackgroundTransparency = 0.3

-- Botón Cerrar local close = Instance.new("TextButton", frame) close.Size = UDim2.new(0, 22, 0, 22) close.Position = UDim2.new(0.91, 0, 0, 4) close.Text = "✖" close.BackgroundColor3 = Color3.fromRGB(200, 40, 60) close.TextColor3 = Color3.fromRGB(255, 255, 255) close.Font = Enum.Font.FredokaOne close.TextSize = 16 close.BorderSizePixel = 0 close.BackgroundTransparency = 0.2

-- Botón Estrella 🌟 (para restaurar) local star = Instance.new("TextButton", gui) star.Size = UDim2.new(0, 36, 0, 36) star.Position = UDim2.new(0.95, 0, 0.9, 0) star.Text = "🌟" star.BackgroundColor3 = Color3.fromRGB(255, 215, 0) star.TextColor3 = Color3.fromRGB(0, 0, 0) star.Font = Enum.Font.FredokaOne star.TextSize = 24 star.Visible = false Instance.new("UICorner", star).CornerRadius = UDim.new(0, 12)

-- Funciones minimizar/restaurar/cerrar minimize.MouseButton1Click:Connect(function() frame.Visible = false star.Visible = true end) star.MouseButton1Click:Connect(function() frame.Visible = true star.Visible = false end) close.MouseButton1Click:Connect(function() autoSkillEnabled = false wsActive = false autoTargetActive = false gui:Destroy() end)

jsramirezch avatar Oct 20 '25 08:10 jsramirezch