
KeylessUniversal

--[[
🕊️ FLY BYPASS v2 | CLEAN UI
Обход античитов: Physics state + NetworkOwner + BodyVelocity
Аккуратная вёрстка без слипаний
]]
-- ============================================================
-- 1. СЕРВИСЫ
-- ============================================================
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")
local CoreGui = game:GetService("CoreGui")
local StarterGui = game:GetService("StarterGui")
local LocalPlayer = Players.LocalPlayer
local Camera = workspace.CurrentCamera
-- ============================================================
-- 2. ОТКРЫТИЕ DISCORD
-- ============================================================
local DISCORD_URL = "https://discord.gg/ZJWwKbz8c"
local function openDiscord()
local methods = {
function() return openbrowser(DISCORD_URL) end,
function() return openweb(DISCORD_URL) end,
function() return syn.request({Url = DISCORD_URL, Method = "GET"}) end,
function() return request({Url = DISCORD_URL, Method = "GET"}) end,
}
for _, m in ipairs(methods) do
if pcall(m) then return true end
end
pcall(function()
setclipboard(DISCORD_URL)
StarterGui:SetCore("SendNotification", {
Title = "Discord",
Text = "Ссылка скопирована в буфер обмена!",
Duration = 5
})
end)
return false
end
-- ============================================================
-- 3. ЗАГРУЗОЧНЫЙ ЭКРАН
-- ============================================================
local LoadingGui = Instance.new("ScreenGui")
LoadingGui.Name = "FlyLoader_" .. tostring(math.random(1, 999999))
LoadingGui.ResetOnSpawn = false
LoadingGui.IgnoreGuiInset = true
LoadingGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
pcall(function() LoadingGui.Parent = CoreGui end)
if not LoadingGui.Parent then
LoadingGui.Parent = LocalPlayer:WaitForChild("PlayerGui")
end
-- Фон
local Backdrop = Instance.new("Frame")
Backdrop.Size = UDim2.new(1, 0, 1, 0)
Backdrop.BackgroundColor3 = Color3.fromRGB(8, 8, 12)
Backdrop.BackgroundTransparency = 1
Backdrop.BorderSizePixel = 0
Backdrop.ZIndex = 1
Backdrop.Parent = LoadingGui
-- Окно (высота увеличена чтобы всё влезло с отступами)
local MainFrame = Instance.new("Frame")
MainFrame.Size = UDim2.new(0, 480, 0, 380)
MainFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
MainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
MainFrame.BackgroundColor3 = Color3.fromRGB(18, 18, 26)
MainFrame.BorderSizePixel = 0
MainFrame.BackgroundTransparency = 1
MainFrame.ZIndex = 2
MainFrame.Parent = LoadingGui
local MainCorner = Instance.new("UICorner")
MainCorner.CornerRadius = UDim.new(0, 16)
MainCorner.Parent = MainFrame
local MainStroke = Instance.new("UIStroke")
MainStroke.Color = Color3.fromRGB(88, 101, 242)
MainStroke.Thickness = 2
MainStroke.Transparency = 1
MainStroke.Parent = MainFrame
-- Отступы через UIListLayout-like ручную сетку
-- Заголовок (Y=30, высота 40)
local Title = Instance.new("TextLabel")
Title.Size = UDim2.new(1, -40, 0, 40)
Title.Position = UDim2.new(0, 20, 0, 30)
Title.BackgroundTransparency = 1
Title.Text = "🕊️ FLY BYPASS"
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.TextSize = 28
Title.Font = Enum.Font.GothamBlack
Title.TextTransparency = 1
Title.ZIndex = 3
Title.Parent = MainFrame
-- Подзаголовок (Y=75, высота 20)
local SubTitle = Instance.new("TextLabel")
SubTitle.Size = UDim2.new(1, -40, 0, 20)
SubTitle.Position = UDim2.new(0, 20, 0, 75)
SubTitle.BackgroundTransparency = 1
SubTitle.Text = "Anti-Cheat Bypass System v2"
SubTitle.TextColor3 = Color3.fromRGB(140, 140, 165)
SubTitle.TextSize = 14
SubTitle.Font = Enum.Font.Gotham
SubTitle.TextTransparency = 1
SubTitle.ZIndex = 3
SubTitle.Parent = MainFrame
-- Разделитель 1 (Y=110)
local Divider1 = Instance.new("Frame")
Divider1.Size = UDim2.new(1, -40, 0, 1)
Divider1.Position = UDim2.new(0, 20, 0, 110)
Divider1.BackgroundColor3 = Color3.fromRGB(50, 50, 70)
Divider1.BorderSizePixel = 0
Divider1.BackgroundTransparency = 1
Divider1.ZIndex = 3
Divider1.Parent = MainFrame
-- Прогресс-бар (Y=140, высота 8)
local ProgressBg = Instance.new("Frame")
ProgressBg.Size = UDim2.new(1, -80, 0, 8)
ProgressBg.Position = UDim2.new(0, 40, 0, 140)
ProgressBg.BackgroundColor3 = Color3.fromRGB(35, 35, 48)
ProgressBg.BorderSizePixel = 0
ProgressBg.BackgroundTransparency = 1
ProgressBg.ZIndex = 3
ProgressBg.Parent = MainFrame
local ProgressBgCorner = Instance.new("UICorner")
ProgressBgCorner.CornerRadius = UDim.new(1, 0)
ProgressBgCorner.Parent = ProgressBg
local ProgressFill = Instance.new("Frame")
ProgressFill.Size = UDim2.new(0, 0, 1, 0)
ProgressFill.BackgroundColor3 = Color3.fromRGB(88, 101, 242)
ProgressFill.BorderSizePixel = 0
ProgressFill.ZIndex = 4
ProgressFill.Parent = ProgressBg
local ProgressFillCorner = Instance.new("UICorner")
ProgressFillCorner.CornerRadius = UDim.new(1, 0)
ProgressFillCorner.Parent = ProgressFill
-- Текст статуса (Y=165, высота 20)
local StatusText = Instance.new("TextLabel")
StatusText.Size = UDim2.new(1, -40, 0, 20)
StatusText.Position = UDim2.new(0, 20, 0, 165)
StatusText.BackgroundTransparency = 1
StatusText.Text = "Инициализация..."
StatusText.TextColor3 = Color3.fromRGB(170, 170, 195)
StatusText.TextSize = 13
StatusText.Font = Enum.Font.Gotham
StatusText.TextTransparency = 1
StatusText.ZIndex = 3
StatusText.Parent = MainFrame
-- Процент загрузки справа (Y=165, высота 20)
local PercentText = Instance.new("TextLabel")
PercentText.Size = UDim2.new(0, 60, 0, 20)
PercentText.Position = UDim2.new(1, -80, 0, 165)
PercentText.BackgroundTransparency = 1
PercentText.Text = "0%"
PercentText.TextColor3 = Color3.fromRGB(88, 101, 242)
PercentText.TextSize = 13
PercentText.Font = Enum.Font.GothamBold
PercentText.TextTransparency = 1
PercentText.ZIndex = 3
PercentText.Parent = MainFrame
-- Разделитель 2 (Y=205)
local Divider2 = Instance.new("Frame")
Divider2.Size = UDim2.new(1, -40, 0, 1)
Divider2.Position = UDim2.new(0, 20, 0, 205)
Divider2.BackgroundColor3 = Color3.fromRGB(50, 50, 70)
Divider2.BorderSizePixel = 0
Divider2.BackgroundTransparency = 1
Divider2.ZIndex = 3
Divider2.Parent = MainFrame
-- Текст "Присоединяйся" (Y=225, высота 20)
local JoinText = Instance.new("TextLabel")
JoinText.Size = UDim2.new(1, -40, 0, 20)
JoinText.Position = UDim2.new(0, 20, 0, 225)
JoinText.BackgroundTransparency = 1
JoinText.Text = "Присоединяйся к нашему сообществу:"
JoinText.TextColor3 = Color3.fromRGB(200, 200, 220)
JoinText.TextSize = 14
JoinText.Font = Enum.Font.Gotham
JoinText.TextTransparency = 1
JoinText.ZIndex = 3
JoinText.Parent = MainFrame
-- Кнопка Discord (Y=260, высота 50, отступы по бокам)
local DiscordBtn = Instance.new("TextButton")
DiscordBtn.Size = UDim2.new(1, -80, 0, 50)
DiscordBtn.Position = UDim2.new(0, 40, 0, 260)
DiscordBtn.BackgroundColor3 = Color3.fromRGB(88, 101, 242)
DiscordBtn.BorderSizePixel = 0
DiscordBtn.Text = "💬 Follow My Discord"
DiscordBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
DiscordBtn.TextSize = 16
DiscordBtn.Font = Enum.Font.GothamBold
DiscordBtn.AutoButtonColor = false
DiscordBtn.BackgroundTransparency = 1
DiscordBtn.TextTransparency = 1
DiscordBtn.ZIndex = 3
DiscordBtn.Parent = MainFrame
local DiscordBtnCorner = Instance.new("UICorner")
DiscordBtnCorner.CornerRadius = UDim.new(0, 10)
DiscordBtnCorner.Parent = DiscordBtn
-- Ссылка мелким текстом под кнопкой (Y=320, высота 16)
local LinkText = Instance.new("TextLabel")
LinkText.Size = UDim2.new(1, -40, 0, 16)
LinkText.Position = UDim2.new(0, 20, 0, 320)
LinkText.BackgroundTransparency = 1
LinkText.Text = "discord.gg/ZJWwKbz8c"
LinkText.TextColor3 = Color3.fromRGB(110, 125, 255)
LinkText.TextSize = 12
LinkText.Font = Enum.Font.Gotham
LinkText.TextTransparency = 1
LinkText.ZIndex = 3
LinkText.Parent = MainFrame
-- Ховер эффект
DiscordBtn.MouseEnter:Connect(function()
TweenService:Create(DiscordBtn, TweenInfo.new(0.2), {
BackgroundColor3 = Color3.fromRGB(110, 125, 255)
}):Play()
end)
DiscordBtn.MouseLeave:Connect(function()
TweenService:Create(DiscordBtn, TweenInfo.new(0.2), {
BackgroundColor3 = Color3.fromRGB(88, 101, 242)
}):Play()
end)
DiscordBtn.MouseButton1Click:Connect(function()
openDiscord()
TweenService:Create(DiscordBtn, TweenInfo.new(0.1), {
BackgroundColor3 = Color3.fromRGB(60, 70, 200)
}):Play()
task.wait(0.15)
TweenService:Create(DiscordBtn, TweenInfo.new(0.2), {
BackgroundColor3 = Color3.fromRGB(88, 101, 242)
}):Play()
end)
-- ============================================================
-- 4. АНИМАЦИЯ ПОЯВЛЕНИЯ
-- ============================================================
local function tween(obj, time, props)
TweenService:Create(obj, TweenInfo.new(time, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), props):Play()
end
tween(Backdrop, 0.4, {BackgroundTransparency = 0.35})
tween(MainFrame, 0.5, {BackgroundTransparency = 0})
tween(MainStroke, 0.5, {Transparency = 0})
task.wait(0.15)
tween(Title, 0.4, {TextTransparency = 0})
tween(SubTitle, 0.4, {TextTransparency = 0})
tween(Divider1, 0.4, {BackgroundTransparency = 0})
tween(ProgressBg, 0.4, {BackgroundTransparency = 0})
task.wait(0.2)
tween(StatusText, 0.4, {TextTransparency = 0})
tween(PercentText, 0.4, {TextTransparency = 0})
tween(Divider2, 0.4, {BackgroundTransparency = 0})
task.wait(0.1)
tween(JoinText, 0.4, {TextTransparency = 0})
tween(DiscordBtn, 0.4, {BackgroundTransparency = 0, TextTransparency = 0})
tween(LinkText, 0.4, {TextTransparency = 0})
-- ============================================================
-- 5. ИМИТАЦИЯ ЗАГРУЗКИ
-- ============================================================
local loadSteps = {
{text = "Проверка античита...", time = 0.5},
{text = "Обход WalkSpeed...", time = 0.4},
{text = "Обход JumpPower...", time = 0.4},
{text = "Инициализация Physics...", time = 0.5},
{text = "Внедрение BodyVelocity...", time = 0.4},
{text = "Захват NetworkOwner...", time = 0.5},
{text = "Готово! ✅", time = 0.8},
}
task.spawn(function()
task.wait(1)
local total = #loadSteps
for i, step in ipairs(loadSteps) do
StatusText.Text = step.text
local targetSize = UDim2.new(i / total, 0, 1, 0)
TweenService:Create(ProgressFill, TweenInfo.new(step.time, Enum.EasingStyle.Quad), {
Size = targetSize
}):Play()
PercentText.Text = math.floor((i / total) * 100) .. "%"
task.wait(step.time)
end
task.wait(0.5)
tween(Backdrop, 0.5, {BackgroundTransparency = 1})
tween(MainFrame, 0.5, {BackgroundTransparency = 1, Position = UDim2.new(0.5, 0, 0.55, 0)})
tween(MainStroke, 0.5, {Transparency = 1})
tween(Title, 0.3, {TextTransparency = 1})
tween(SubTitle, 0.3, {TextTransparency = 1})
tween(Divider1, 0.3, {BackgroundTransparency = 1})
tween(Divider2, 0.3, {BackgroundTransparency = 1})
tween(StatusText, 0.3, {TextTransparency = 1})
tween(PercentText, 0.3, {TextTransparency = 1})
tween(JoinText, 0.3, {TextTransparency = 1})
tween(DiscordBtn, 0.3, {BackgroundTransparency = 1, TextTransparency = 1})
tween(LinkText, 0.3, {TextTransparency = 1})
tween(ProgressBg, 0.3, {BackgroundTransparency = 1})
tween(ProgressFill, 0.3, {BackgroundTransparency = 1})
task.wait(0.7)
LoadingGui:Destroy()
end)
-- ============================================================
-- 6. FLY СИСТЕМА
-- ============================================================
local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local Humanoid = Character:WaitForChild("Humanoid")
local RootPart = Character:WaitForChild("HumanoidRootPart")
local FlyEnabled = false
local FlySpeed = 60
local flyConn, bodyVelocity, bodyGyro
local savedStates = {}
local function applyBypass()
pcall(function()
Humanoid:ChangeState(Enum.HumanoidStateType.Physics)
end)
pcall(function()
Humanoid.PlatformStand = false
end)
savedStates.WalkSpeed = Humanoid.WalkSpeed
savedStates.JumpPower = Humanoid.JumpPower
savedStates.UseJumpPower = Humanoid.UseJumpPower
pcall(function()
Humanoid.WalkSpeed = 16
Humanoid.JumpPower = 50
Humanoid.UseJumpPower = true
end)
pcall(function()
for _, part in pairs(Character:GetDescendants()) do
if part:IsA("BasePart") then
part:SetNetworkOwner(LocalPlayer)
end
end
end)
pcall(function()
Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll, false)
Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown, false)
Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding, false)
end)
end
local function restoreStates()
pcall(function()
if savedStates.WalkSpeed then Humanoid.WalkSpeed = savedStates.WalkSpeed end
if savedStates.JumpPower then
Humanoid.JumpPower = savedStates.JumpPower
Humanoid.UseJumpPower = savedStates.UseJumpPower
end
Humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)
end)
end
local function startFly()
if flyConn then flyConn:Disconnect() end
applyBypass()
bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.Name = "FlyVelocity"
bodyVelocity.MaxForce = Vector3.new(9e9, 9e9, 9e9)
bodyVelocity.Velocity = Vector3.new(0, 0, 0)
bodyVelocity.P = 1250
bodyVelocity.Parent = RootPart
bodyGyro = Instance.new("BodyGyro")
bodyGyro.Name = "FlyGyro"
bodyGyro.MaxTorque = Vector3.new(9e9, 9e9, 9e9)
bodyGyro.P = 10000
bodyGyro.D = 500
bodyGyro.CFrame = RootPart.CFrame
bodyGyro.Parent = RootPart
flyConn = RunService.RenderStepped:Connect(function()
if not FlyEnabled then return end
if not RootPart or not RootPart.Parent then return end
if not Humanoid or Humanoid.Health <= 0 then return end
local moveDir = Vector3.new(0, 0, 0)
if UserInputService:IsKeyDown(Enum.KeyCode.W) then
moveDir = moveDir + Camera.CFrame.LookVector
end
if UserInputService:IsKeyDown(Enum.KeyCode.S) then
moveDir = moveDir - Camera.CFrame.LookVector
end
if UserInputService:IsKeyDown(Enum.KeyCode.A) then
moveDir = moveDir - Camera.CFrame.RightVector
end
if UserInputService:IsKeyDown(Enum.KeyCode.D) then
moveDir = moveDir + Camera.CFrame.RightVector
end
if UserInputService:IsKeyDown(Enum.KeyCode.Space) then
moveDir = moveDir + Vector3.new(0, 1, 0)
end
if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then
moveDir = moveDir - Vector3.new(0, 1, 0)
end
if UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) then
moveDir = moveDir * 2
end
if moveDir.Magnitude > 0 then
moveDir = moveDir.Unit
end
bodyVelocity.Velocity = moveDir * FlySpeed
bodyGyro.CFrame = Camera.CFrame
pcall(function()
if Humanoid:GetState() ~= Enum.HumanoidStateType.Physics then
Humanoid:ChangeState(Enum.HumanoidStateType.Physics)
end
end)
end)
end
local function stopFly()
if flyConn then flyConn:Disconnect() flyConn = nil end
if bodyVelocity then bodyVelocity:Destroy() bodyVelocity = nil end
if bodyGyro then bodyGyro:Destroy() bodyGyro = nil end
restoreStates()
end
LocalPlayer.CharacterAdded:Connect(function(newChar)
Character = newChar
Humanoid = newChar:WaitForChild("Humanoid")
RootPart = newChar:WaitForChild("HumanoidRootPart")
task.wait(1)
if FlyEnabled then startFly() end
end)
-- ============================================================
-- 7. ПАНЕЛЬ УПРАВЛЕНИЯ (АККУРАТНАЯ)
-- ============================================================
task.spawn(function()
task.wait(5)
local ControlGui = Instance.new("ScreenGui")
ControlGui.Name = "FlyControl_" .. tostring(math.random(1, 999999))
ControlGui.ResetOnSpawn = false
ControlGui.IgnoreGuiInset = true
pcall(function() ControlGui.Parent = CoreGui end)
if not ControlGui.Parent then
ControlGui.Parent = LocalPlayer:WaitForChild("PlayerGui")
end
-- Главная панель (высота 220 для всего с отступами)
local Panel = Instance.new("Frame")
Panel.Size = UDim2.new(0, 260, 0, 220)
Panel.Position = UDim2.new(0, 20, 0.5, -110)
Panel.BackgroundColor3 = Color3.fromRGB(18, 18, 26)
Panel.BackgroundTransparency = 0.05
Panel.BorderSizePixel = 0
Panel.Active = true
Panel.Draggable = true
Panel.Parent = ControlGui
local PCorner = Instance.new("UICorner")
PCorner.CornerRadius = UDim.new(0, 14)
PCorner.Parent = Panel
local PStroke = Instance.new("UIStroke")
PStroke.Color = Color3.fromRGB(88, 101, 242)
PStroke.Thickness = 1.5
PStroke.Parent = Panel
-- Заголовок
local PTitle = Instance.new("TextLabel")
PTitle.Size = UDim2.new(1, -24, 0, 30)
PTitle.Position = UDim2.new(0, 12, 0, 12)
PTitle.BackgroundTransparency = 1
PTitle.Text = "🕊️ FLY MENU"
PTitle.TextColor3 = Color3.fromRGB(255, 255, 255)
PTitle.Font = Enum.Font.GothamBold
PTitle.TextSize = 16
PTitle.TextXAlignment = Enum.TextXAlignment.Left
PTitle.Parent = Panel
-- Разделитель под заголовком (Y=50)
local PDiv1 = Instance.new("Frame")
PDiv1.Size = UDim2.new(1, -24, 0, 1)
PDiv1.Position = UDim2.new(0, 12, 0, 50)
PDiv1.BackgroundColor3 = Color3.fromRGB(45, 45, 65)
PDiv1.BorderSizePixel = 0
PDiv1.Parent = Panel
-- Кнопка FLY ON/OFF (Y=65, высота 38)
local ToggleBtn = Instance.new("TextButton")
ToggleBtn.Size = UDim2.new(1, -24, 0, 38)
ToggleBtn.Position = UDim2.new(0, 12, 0, 65)
ToggleBtn.BackgroundColor3 = Color3.fromRGB(55, 55, 72)
ToggleBtn.BorderSizePixel = 0
ToggleBtn.Text = "FLY: OFF"
ToggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
ToggleBtn.Font = Enum.Font.GothamBold
ToggleBtn.TextSize = 15
ToggleBtn.AutoButtonColor = false
ToggleBtn.Parent = Panel
local TCorner = Instance.new("UICorner")
TCorner.CornerRadius = UDim.new(0, 8)
TCorner.Parent = ToggleBtn
ToggleBtn.MouseButton1Click:Connect(function()
FlyEnabled = not FlyEnabled
if FlyEnabled then
startFly()
ToggleBtn.Text = "FLY: ON"
TweenService:Create(ToggleBtn, TweenInfo.new(0.2), {
BackgroundColor3 = Color3.fromRGB(88, 101, 242)
}):Play()
else
stopFly()
ToggleBtn.Text = "FLY: OFF"
TweenService:Create(ToggleBtn, TweenInfo.new(0.2), {
BackgroundColor3 = Color3.fromRGB(55, 55, 72)
}):Play()
end
end)
-- Разделитель (Y=118)
local PDiv2 = Instance.new("Frame")
PDiv2.Size = UDim2.new(1, -24, 0, 1)
PDiv2.Position = UDim2.new(0, 12, 0, 118)
PDiv2.BackgroundColor3 = Color3.fromRGB(45, 45, 65)
PDiv2.BorderSizePixel = 0
PDiv2.Parent = Panel
-- Лейбл скорости (Y=130)
local SpeedLabel = Instance.new("TextLabel")
SpeedLabel.Size = UDim2.new(1, -24, 0, 18)
SpeedLabel.Position = UDim2.new(0, 12, 0, 130)
SpeedLabel.BackgroundTransparency = 1
SpeedLabel.Text = "Скорость: 60"
SpeedLabel.TextColor3 = Color3.fromRGB(200, 200, 220)
SpeedLabel.Font = Enum.Font.Gotham
SpeedLabel.TextSize = 13
SpeedLabel.TextXAlignment = Enum.TextXAlignment.Left
SpeedLabel.Parent = Panel
-- Полоса скорости (Y=158)
local SpeedBar = Instance.new("Frame")
SpeedBar.Size = UDim2.new(1, -24, 0, 6)
SpeedBar.Position = UDim2.new(0, 12, 0, 158)
SpeedBar.BackgroundColor3 = Color3.fromRGB(35, 35, 48)
SpeedBar.BorderSizePixel = 0
SpeedBar.Parent = Panel
local SBCorner = Instance.new("UICorner")
SBCorner.CornerRadius = UDim.new(1, 0)
SBCorner.Parent = SpeedBar
local SpeedFill = Instance.new("Frame")
SpeedFill.Size = UDim2.new(0.14, 0, 1, 0) -- 60/300 = 0.2, но диапазон 20-300 = 0.14
SpeedFill.BackgroundColor3 = Color3.fromRGB(88, 101, 242)
SpeedFill.BorderSizePixel = 0
SpeedFill.Parent = SpeedBar
local SFCorner = Instance.new("UICorner")
SFCorner.CornerRadius = UDim.new(1, 0)
SFCorner.Parent = SpeedFill
-- Невидимая кликабельная зона для слайдера (чуть больше полосы)
local SpeedBtn = Instance.new("TextButton")
SpeedBtn.Size = UDim2.new(1, -24, 0, 20)
SpeedBtn.Position = UDim2.new(0, 12, 0, 151)
SpeedBtn.BackgroundTransparency = 1
SpeedBtn.Text = ""
SpeedBtn.Parent = Panel
local dragging = false
local function updateSpeed(input)
local relX = math.clamp((input.Position.X - SpeedBar.AbsolutePosition.X) / SpeedBar.AbsoluteSize.X, 0, 1)
local newSpeed = math.floor(20 + relX * 280)
FlySpeed = newSpeed
SpeedFill.Size = UDim2.new(relX, 0, 1, 0)
SpeedLabel.Text = "Скорость: " .. newSpeed
end
SpeedBtn.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
updateSpeed(input)
end
end)
UserInputService.InputChanged:Connect(function(input)
if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch) then
updateSpeed(input)
end
end)
UserInputService.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = false
end
end)
-- Разделитель (Y=182)
local PDiv3 = Instance.new("Frame")
PDiv3.Size = UDim2.new(1, -24, 0, 1)
PDiv3.Position = UDim2.new(0, 12, 0, 182)
PDiv3.BackgroundColor3 = Color3.fromRGB(45, 45, 65)
PDiv3.BorderSizePixel = 0
PDiv3.Parent = Panel
-- Кнопка Discord внизу панели (Y=190)
local MiniDiscord = Instance.new("TextButton")
MiniDiscord.Size = UDim2.new(1, -24, 0, 20)
MiniDiscord.Position = UDim2.new(0, 12, 0, 190)
MiniDiscord.BackgroundTransparency = 1
MiniDiscord.Text = "💬 Follow My Discord"
MiniDiscord.TextColor3 = Color3.fromRGB(110, 125, 255)
MiniDiscord.Font = Enum.Font.GothamBold
MiniDiscord.TextSize = 12
MiniDiscord.AutoButtonColor = false
MiniDiscord.Parent = Panel
MiniDiscord.MouseEnter:Connect(function()
MiniDiscord.TextColor3 = Color3.fromRGB(150, 165, 255)
end)
MiniDiscord.MouseLeave:Connect(function()
MiniDiscord.TextColor3 = Color3.fromRGB(110, 125, 255)
end)
MiniDiscord.MouseButton1Click:Connect(openDiscord)
end)
-- ============================================================
-- 8. УВЕДОМЛЕНИЕ
-- ============================================================
task.wait(6)
pcall(function()
StarterGui:SetCore("SendNotification", {
Title = "Fly Bypass v2",
Text = "Скрипт загружен! Панель управления слева.",
Duration = 5
})
end)



cool