-- Настройка пароля local correctKey = "kikunkik" local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local RS = game:GetService("RunService") local UIS = game:GetService("UserInputService") local char = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() local hrp = char:WaitForChild("HumanoidRootPart") local hum = char:WaitForChild("Humanoid") local flying = false local speed = 60 local bv, bg -- Окно ввода пароля local guiKey = Instance.new("ScreenGui", LocalPlayer.PlayerGui) guiKey.Name = "KeyPrompt" local frameKey = Instance.new("Frame", guiKey) frameKey.Size = UDim2.new(0, 250, 0, 120) frameKey.Position = UDim2.new(0.5, -125, 0.4, 0) frameKey.BackgroundColor3 = Color3.fromRGB(30,30,30) local label = Instance.new("TextLabel", frameKey) label.Size = UDim2.new(1, -20, 0, 40) label.Position = UDim2.new(0, 10, 0, 10) label.Text = "Enter the Key lil nigga" label.TextColor3 = Color3.fromRGB(255,255,255) label.BackgroundTransparency = 1 label.TextScaled = true local textbox = Instance.new("TextBox", frameKey) textbox.Size = UDim2.new(1, -20, 0, 30) textbox.Position = UDim2.new(0, 10, 0, 60) textbox.PlaceholderText = "Password" textbox.BackgroundColor3 = Color3.fromRGB(60,60,60) textbox.TextColor3 = Color3.fromRGB(255,255,255) textbox.ClearTextOnFocus = true -- Проверка пароля textbox.FocusLost:Connect(function() if textbox.Text == correctKey then guiKey:Destroy() -- Fly GUI local gui = Instance.new("ScreenGui", LocalPlayer.PlayerGui) gui.Name = "FlyGUI" local frame = Instance.new("Frame", gui) frame.Size = UDim2.new(0, 200, 0, 150) frame.Position = UDim2.new(0.02, 0, 0.3, 0) frame.BackgroundColor3 = Color3.fromRGB(30,30,30) frame.Active = true frame.Draggable = true local flyBtn = Instance.new("TextButton", frame) flyBtn.Size = UDim2.new(1, -20, 0, 40) flyBtn.Position = UDim2.new(0, 10, 0, 10) flyBtn.Text = "Fly: OFF" flyBtn.BackgroundColor3 = Color3.fromRGB(60,60,60) flyBtn.TextColor3 = Color3.fromRGB(255,255,255) local speedLabel = Instance.new("TextLabel", frame) speedLabel.Size = UDim2.new(1, -20, 0, 20) speedLabel.Position = UDim2.new(0, 10, 0, 60) speedLabel.Text = "Speed: "..speed speedLabel.TextColor3 = Color3.fromRGB(255,255,255) speedLabel.BackgroundTransparency = 1 speedLabel.TextScaled = true local speedBox = Instance.new("TextBox", frame) speedBox.Size = UDim2.new(1, -20, 0, 25) speedBox.Position = UDim2.new(0, 10, 0, 85) speedBox.PlaceholderText = tostring(speed) speedBox.BackgroundColor3 = Color3.fromRGB(80,80,80) speedBox.TextColor3 = Color3.fromRGB(255,255,255) -- Кнопка включения/выключения полёта flyBtn.MouseButton1Click:Connect(function() flying = not flying flyBtn.Text = flying and "Fly: ON" or "Fly: OFF" if flying then bv = Instance.new("BodyVelocity", hrp) bv.MaxForce = Vector3.new(1e9,1e9,1e9) bg = Instance.new("BodyGyro", hrp) bg.MaxTorque = Vector3.new(1e9,1e9,1e9) hum.PlatformStand = true else if bv then bv:Destroy() end if bg then bg:Destroy() end hum.PlatformStand = false end end) -- Изменение скорости полёта speedBox.FocusLost:Connect(function() local newSpeed = tonumber(speedBox.Text) if newSpeed and newSpeed > 0 then speed = newSpeed speedLabel.Text = "Speed: "..speed end end) -- Логика полёта RS.RenderStepped:Connect(function() if flying and bv and bg then local cam = workspace.CurrentCamera bg.CFrame = cam.CFrame bv.Velocity = cam.CFrame.LookVector * speed end end) else textbox.Text = "" label.Text = "Wrong bitch!" label.TextColor3 = Color3.fromRGB(255,50,50) end end)