local Players = game:GetService("Players") local CoreGui = game:GetService("CoreGui") local UserInputService = game:GetService("UserInputService") local RunService = game:GetService("RunService") local localPlayer = Players.LocalPlayer local tp1 = Vector3.new(-20.44, 3.72, -69.62) local tp2 = Vector3.new(49.76, 6.11, 6120.03) local tp3 = Vector3.new(13.99, 9.70, 9972.90) -- Состояния функций local flying = false local flySpeed = 50 local noclipEnabled = false local infJumpEnabled = false local customWalkSpeed = 16 local bv, bg local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "DeaslHubV2" ScreenGui.ResetOnSpawn = false ScreenGui.Parent = CoreGui -- ==================== ВОДЯНОЙ ЗНАК ==================== local Watermark = Instance.new("TextLabel") Watermark.Size = UDim2.new(0, 140, 0, 30) Watermark.Position = UDim2.new(0, 15, 0, 15) Watermark.BackgroundColor3 = Color3.fromRGB(18, 18, 24) Watermark.BackgroundTransparency = 0.2 Watermark.Text = " Deasl script" Watermark.TextColor3 = Color3.fromRGB(180, 130, 255) Watermark.TextSize = 13 Watermark.Font = Enum.Font.GothamBold Watermark.TextXAlignment = Enum.TextXAlignment.Left Watermark.Parent = ScreenGui local WmCorner = Instance.new("UICorner") WmCorner.CornerRadius = UDim.new(0, 8) WmCorner.Parent = Watermark local WmStroke = Instance.new("UIStroke") WmStroke.Color = Color3.fromRGB(120, 80, 220) WmStroke.Transparency = 0.4 WmStroke.Parent = Watermark -- ==================== МОБИЛЬНАЯ КНОПКА (D) ==================== local MobileToggle = Instance.new("TextButton") MobileToggle.Size = UDim2.new(0, 45, 0, 45) MobileToggle.Position = UDim2.new(0, 15, 0, 60) MobileToggle.BackgroundColor3 = Color3.fromRGB(18, 18, 24) MobileToggle.Text = "D" MobileToggle.TextColor3 = Color3.fromRGB(180, 130, 255) MobileToggle.TextSize = 18 MobileToggle.Font = Enum.Font.GothamBold MobileToggle.Parent = ScreenGui local MtCorner = Instance.new("UICorner") MtCorner.CornerRadius = UDim.new(1, 0) MtCorner.Parent = MobileToggle local MtStroke = Instance.new("UIStroke") MtStroke.Color = Color3.fromRGB(120, 80, 220) MtStroke.Transparency = 0.3 MtStroke.Parent = MobileToggle -- ==================== ГЛАВНОЕ ОКНО (СТИЛЬ КАК НА СКРИНЕ) ==================== local Frame = Instance.new("Frame") Frame.Size = UDim2.new(0, 500, 0, 320) Frame.Position = UDim2.new(0.5, -250, 0.4, -160) Frame.BackgroundColor3 = Color3.fromRGB(14, 14, 18) Frame.BorderSizePixel = 0 Frame.Parent = ScreenGui local MainCorner = Instance.new("UICorner") MainCorner.CornerRadius = UDim.new(0, 10) MainCorner.Parent = Frame local MainStroke = Instance.new("UIStroke") MainStroke.Color = Color3.fromRGB(110, 70, 210) MainStroke.Thickness = 1.5 MainStroke.Parent = Frame -- ЛЕВАЯ ПАНЕЛЬ (САЙДБАР С ВКЛАДКАМИ) local Sidebar = Instance.new("Frame") Sidebar.Size = UDim2.new(0, 145, 1, 0) Sidebar.BackgroundColor3 = Color3.fromRGB(18, 18, 24) Sidebar.BorderSizePixel = 0 Sidebar.Parent = Frame local SideCorner = Instance.new("UICorner") SideCorner.CornerRadius = UDim.new(0, 10) SideCorner.Parent = Sidebar local TitleLabel = Instance.new("TextLabel") TitleLabel.Size = UDim2.new(1, 0, 0, 50) TitleLabel.BackgroundTransparency = 1 TitleLabel.Text = "DEASL v2" TitleLabel.TextColor3 = Color3.fromRGB(220, 220, 255) TitleLabel.TextSize = 15 TitleLabel.Font = Enum.Font.GothamBold TitleLabel.Parent = Sidebar local Divider = Instance.new("Frame") Divider.Size = UDim2.new(1, -20, 0, 1) Divider.Position = UDim2.new(0, 10, 0, 50) Divider.BackgroundColor3 = Color3.fromRGB(45, 42, 60) Divider.BorderSizePixel = 0 Divider.Parent = Sidebar -- ПРАВАЯ ОБЛАСТЬ (КОНТЕНТ ВКЛАДОК) local ContentArea = Instance.new("Frame") ContentArea.Size = UDim2.new(1, -160, 1, -20) ContentArea.Position = UDim2.new(0, 155, 0, 10) ContentArea.BackgroundTransparency = 1 ContentArea.Parent = Frame -- Функция создания страниц local function createPage() local p = Instance.new("ScrollingFrame") p.Size = UDim2.new(1, 0, 1, 0) p.BackgroundTransparency = 1 p.CanvasSize = UDim2.new(0, 0, 0, 250) p.ScrollBarThickness = 2 p.Visible = false p.Parent = ContentArea local layout = Instance.new("UIListLayout") layout.HorizontalAlignment = Enum.HorizontalAlignment.Center layout.SortOrder = Enum.SortOrder.LayoutOrder layout.Padding = UDim.new(0, 8) layout.Parent = p return p end local pageTp = createPage() local pageMove = createPage() local pageMisc = createPage() pageTp.Visible = true -- По умолчанию открыта первая вкладка -- Создание кнопок вкладок в сайдбаре local function createTabButton(name, yPos, targetPage) local btn = Instance.new("TextButton") btn.Size = UDim2.new(1, -20, 0, 36) btn.Position = UDim2.new(0, 10, 0, yPos) btn.BackgroundColor3 = Color3.fromRGB(24, 24, 32) btn.Text = name btn.TextColor3 = Color3.fromRGB(160, 160, 180) btn.TextSize = 13 btn.Font = Enum.Font.GothamMedium btn.Parent = Sidebar local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 6) corner.Parent = btn btn.MouseButton1Click:Connect(function() pageTp.Visible = false pageMove.Visible = false pageMisc.Visible = false targetPage.Visible = true end) return btn end createTabButton("Teleport", 65, pageTp) createTabButton("Movement", 110, pageMove) createTabButton("Misc", 155, pageMisc) -- Элементы для страниц local function createButtonOnPage(name, parent) local btn = Instance.new("TextButton") btn.Size = UDim2.new(0.95, 0, 0, 38) btn.BackgroundColor3 = Color3.fromRGB(22, 22, 28) btn.Text = name btn.TextColor3 = Color3.fromRGB(200, 200, 210) btn.TextSize = 13 btn.Font = Enum.Font.GothamMedium btn.Parent = parent local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 6) corner.Parent = btn local stroke = Instance.new("UIStroke") stroke.Color = Color3.fromRGB(45, 42, 60) stroke.Transparency = 0.5 stroke.Parent = btn return btn end local function createTextBoxOnPage(placeholder, parent) local box = Instance.new("TextBox") box.Size = UDim2.new(0.95, 0, 0, 38) box.BackgroundColor3 = Color3.fromRGB(18, 18, 24) box.PlaceholderText = placeholder box.Text = "" box.TextColor3 = Color3.fromRGB(220, 220, 230) box.PlaceholderColor3 = Color3.fromRGB(100, 100, 110) box.TextSize = 13 box.Font = Enum.Font.GothamMedium box.ClearTextOnFocus = false box.Parent = parent local corner = Instance.new("UICorner") corner.CornerRadius = UDim.new(0, 6) corner.Parent = box local stroke = Instance.new("UIStroke") stroke.Color = Color3.fromRGB(45, 42, 60) stroke.Transparency = 0.5 stroke.Parent = box return box end -- Наполнение вкладок local btnTp1 = createButtonOnPage("TP 1 (Спавн)", pageTp) local btnTp2 = createButtonOnPage("TP 2 (Фарм)", pageTp) local btnTp3 = createButtonOnPage("TP 3", pageTp) local btnFly = createButtonOnPage("Fly: OFF", pageMove) local boxFlySpeed = createTextBoxOnPage("Fly Speed (напр. 50)", pageMove) local boxWalkSpeed = createTextBoxOnPage("WalkSpeed (напр. 30)", pageMove) local btnNoclip = createButtonOnPage("Noclip: OFF", pageMisc) local btnInfJump = createButtonOnPage("Infinite Jump: OFF", pageMisc) -- Перетаскивание окна за сайдбар local function makeDraggable(guiObj, handle) handle = handle or guiObj local dragging, dragInput, dragStart, startPos handle.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = guiObj.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) handle.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) UserInputService.InputChanged:Connect(function(input) if input == dragInput and dragging then local delta = input.Position - dragStart guiObj.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end end) end makeDraggable(Frame, Sidebar) makeDraggable(MobileToggle) -- ЛОГИКА ФУНКЦИЙ local function teleportTo(pos) local char = localPlayer.Character local root = char and char:FindFirstChild("HumanoidRootPart") if root then root.CFrame = CFrame.new(pos) end end btnTp1.MouseButton1Click:Connect(function() teleportTo(tp1) end) btnTp2.MouseButton1Click:Connect(function() teleportTo(tp2) end) btnTp3.MouseButton1Click:Connect(function() teleportTo(tp3) end) boxFlySpeed.FocusLost:Connect(function() local num = tonumber(boxFlySpeed.Text) if num then flySpeed = num boxFlySpeed.Text = "Speed: " .. flySpeed end end) btnFly.MouseButton1Click:Connect(function() flying = not flying local char = localPlayer.Character if not char then return end local root = char:FindFirstChild("HumanoidRootPart") local hum = char:FindFirstChildOfClass("Humanoid") if flying then btnFly.Text = "Fly: ON" btnFly.TextColor3 = Color3.fromRGB(100, 255, 150) if hum then hum.PlatformStand = true end if root then bv = Instance.new("BodyVelocity") bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge) bv.Velocity = Vector3.new(0,0,0) bv.Parent = root bg = Instance.new("BodyGyro") bg.MaxTorque = Vector3.new(math.huge, math.huge, math.huge) bg.CFrame = root.CFrame bg.Parent = root end else btnFly.Text = "Fly: OFF" btnFly.TextColor3 = Color3.fromRGB(200, 200, 210) if hum then hum.PlatformStand = false end if bv then bv:Destroy() bv = nil end if bg then bg:Destroy() bg = nil end end end) boxWalkSpeed.FocusLost:Connect(function() local num = tonumber(boxWalkSpeed.Text) if num then customWalkSpeed = num boxWalkSpeed.Text = "WalkSpeed: " .. customWalkSpeed end end) btnNoclip.MouseButton1Click:Connect(function() noclipEnabled = not noclipEnabled if noclipEnabled then btnNoclip.Text = "Noclip: ON" btnNoclip.TextColor3 = Color3.fromRGB(100, 255, 150) else btnNoclip.Text = "Noclip: OFF" btnNoclip.TextColor3 = Color3.fromRGB(200, 200, 210) end end) RunService.Stepped:Connect(function() if noclipEnabled then local char = localPlayer.Character if char then for _, part in pairs(char:GetDescendants()) do if part:IsA("BasePart") then part.CanCollide = false end end end end end) btnInfJump.MouseButton1Click:Connect(function() infJumpEnabled = not infJumpEnabled if infJumpEnabled then btnInfJump.Text = "Infinite Jump: ON" btnInfJump.TextColor3 = Color3.fromRGB(100, 255, 150) else btnInfJump.Text = "Infinite Jump: OFF" btnInfJump.TextColor3 = Color3.fromRGB(200, 200, 210) end end) UserInputService.JumpRequest:Connect(function() if infJumpEnabled then local char = localPlayer.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if hum then hum:ChangeState(Enum.HumanoidStateType.Jumping) end end end) RunService.RenderStepped:Connect(function() if flying then local char = localPlayer.Character local root = char and char:FindFirstChild("HumanoidRootPart") if root and bv and bg then local cam = workspace.CurrentCamera local f, r, u = 0, 0, 0 if UserInputService:IsKeyDown(Enum.KeyCode.W) then f = f + 1 end if UserInputService:IsKeyDown(Enum.KeyCode.S) then f = f - 1 end if UserInputService:IsKeyDown(Enum.KeyCode.D) then r = r + 1 end if UserInputService:IsKeyDown(Enum.KeyCode.A) then r = r - 1 end if UserInputService:IsKeyDown(Enum.KeyCode.Space) then u = u + 1 end if UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) or UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then u = u - 1 end local dir = (cam.CFrame.LookVector * f + cam.CFrame.RightVector * r + Vector3.new(0, u, 0)) if dir.Magnitude > 0 then dir = dir.Unit * flySpeed end bv.Velocity = dir bg.CFrame = cam.CFrame end end if customWalkSpeed ~= 16 then local char = localPlayer.Character local hum = char and char:FindFirstChildOfClass("Humanoid") if hum then hum.WalkSpeed = customWalkSpeed end end end) -- Скрытие меню (Toggle) local uiVisible = true local function toggleUI() uiVisible = not uiVisible Frame.Visible = uiVisible end UserInputService.InputBegan:Connect(function(input, gp) if input.KeyCode == Enum.KeyCode.Insert then toggleUI() end end) MobileToggle.MouseButton1Click:Connect(function() toggleUI() end)