--// Alxdy Fly V2 with Key System + Discord Link --// Developer: Alxdy (Education Only) local CorrectKey = "alxdybetter" local KeyVerified = false local player = game.Players.LocalPlayer local char = player.Character or player.CharacterAdded:Wait() local hrp = char:WaitForChild("HumanoidRootPart") local hum = char:WaitForChild("Humanoid") -- Key GUI local keyGui = Instance.new("ScreenGui") keyGui.Name = "AlxdyKeyUI" keyGui.ResetOnSpawn = false if gethui then keyGui.Parent = gethui() else keyGui.Parent = game.CoreGui end local frame = Instance.new("Frame", keyGui) frame.Size = UDim2.new(0, 300, 0, 180) frame.Position = UDim2.new(0.5, -150, 0.4, -90) frame.BackgroundColor3 = Color3.fromRGB(15,15,15) frame.Active = true frame.Draggable = true Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 15) local stroke = Instance.new("UIStroke", frame) stroke.Color = Color3.fromRGB(0,255,200) stroke.Thickness = 3 -- Title local title = Instance.new("TextLabel", frame) title.Size = UDim2.new(1,0,0,40) title.Position = UDim2.new(0,0,0,5) title.BackgroundTransparency = 1 title.Font = Enum.Font.GothamBold title.Text = "Enter Key to Unlock" title.TextSize = 24 title.TextColor3 = Color3.fromRGB(0,255,200) -- Key Box local keyBox = Instance.new("TextBox", frame) keyBox.Size = UDim2.new(1, -40, 0, 40) keyBox.Position = UDim2.new(0, 20, 0, 60) keyBox.PlaceholderText = "Type key here..." keyBox.Text = "" keyBox.Font = Enum.Font.Gotham keyBox.TextSize = 20 keyBox.TextColor3 = Color3.fromRGB(0, 255, 255) keyBox.BackgroundColor3 = Color3.fromRGB(30,30,30) Instance.new("UICorner", keyBox).CornerRadius = UDim.new(0, 10) -- Submit Button local submit = Instance.new("TextButton", frame) submit.Size = UDim2.new(0.5, -15, 0, 35) submit.Position = UDim2.new(0, 10, 0, 115) submit.Text = "Submit" submit.Font = Enum.Font.GothamBold submit.TextSize = 20 submit.TextColor3 = Color3.fromRGB(0,255,200) submit.BackgroundColor3 = Color3.fromRGB(20,20,20) Instance.new("UICorner", submit).CornerRadius = UDim.new(0, 10) -- Discord Button local discordBtn = Instance.new("TextButton", frame) discordBtn.Size = UDim2.new(0.5, -15, 0, 35) discordBtn.Position = UDim2.new(0.5, 5, 0, 115) discordBtn.Text = "Discord" discordBtn.Font = Enum.Font.GothamBold discordBtn.TextSize = 20 discordBtn.TextColor3 = Color3.fromRGB(255,255,255) discordBtn.BackgroundColor3 = Color3.fromRGB(80, 60, 255) Instance.new("UICorner", discordBtn).CornerRadius = UDim.new(0, 10) discordBtn.MouseButton1Click:Connect(function() setclipboard("https://discord.gg/d6ASDU4p9") discordBtn.Text = "Copied!" discordBtn.TextColor3 = Color3.fromRGB(0,255,0) task.delay(2, function() discordBtn.Text = "Discord" discordBtn.TextColor3 = Color3.fromRGB(255,255,255) end) end) -- Verify Key local function verifyKey() if keyBox.Text == CorrectKey then KeyVerified = true keyGui:Destroy() startFlyScript() -- Fly scriptini başlat else keyBox.Text = "" keyBox.PlaceholderText = "Wrong key!" keyBox.TextColor3 = Color3.fromRGB(255,0,0) end end submit.MouseButton1Click:Connect(verifyKey) keyBox.FocusLost:Connect(function(enterPressed) if enterPressed then verifyKey() end end) --// Alxdy Fly V2 Script function startFlyScript() local flying = false local speed = 5 -- GUI local gui = Instance.new("ScreenGui", game.CoreGui) gui.ResetOnSpawn = false local panel = Instance.new("Frame", gui) panel.Size = UDim2.new(0, 200, 0, 150) panel.Position = UDim2.new(0.05, 0, 0.4, 0) panel.BackgroundColor3 = Color3.fromRGB(10, 10, 10) panel.Active = true panel.Draggable = true Instance.new("UICorner", panel).CornerRadius = UDim.new(0, 12) local stroke = Instance.new("UIStroke", panel) stroke.Color = Color3.fromRGB(0,255,200) stroke.Thickness = 2 local title = Instance.new("TextLabel", panel) title.Size = UDim2.new(1, 0, 0, 25) title.BackgroundTransparency = 1 title.Font = Enum.Font.GothamBold title.Text = "Alxdy Fly V2" title.TextSize = 20 title.TextColor3 = Color3.fromRGB(0,255,200) local flyBtn = Instance.new("TextButton", panel) flyBtn.Size = UDim2.new(1, -20, 0, 40) flyBtn.Position = UDim2.new(0, 10, 0, 35) flyBtn.Font = Enum.Font.GothamBold flyBtn.TextSize = 20 flyBtn.TextColor3 = Color3.fromRGB(255, 75, 75) flyBtn.Text = "Fly: OFF" flyBtn.BackgroundColor3 = Color3.fromRGB(20, 20, 20) Instance.new("UICorner", flyBtn).CornerRadius = UDim.new(0, 8) local speedLabel = Instance.new("TextLabel", panel) speedLabel.Size = UDim2.new(1, 0, 0, 25) speedLabel.Position = UDim2.new(0, 0, 0, 85) speedLabel.BackgroundTransparency = 1 speedLabel.Font = Enum.Font.GothamSemibold speedLabel.TextSize = 18 speedLabel.TextColor3 = Color3.fromRGB(0,255,200) speedLabel.Text = "Speed: 5" local plus = Instance.new("TextButton", panel) plus.Size = UDim2.new(0, 80, 0, 35) plus.Position = UDim2.new(0, 10, 0, 110) plus.Text = "+" plus.Font = Enum.Font.GothamBold plus.TextSize = 25 plus.BackgroundColor3 = Color3.fromRGB(20,20,20) plus.TextColor3 = Color3.fromRGB(0,255,200) Instance.new("UICorner", plus).CornerRadius = UDim.new(0, 8) local minus = Instance.new("TextButton", panel) minus.Size = UDim2.new(0, 80, 0, 35) minus.Position = UDim2.new(0, 110, 0, 110) minus.Text = "-" minus.Font = Enum.Font.GothamBold minus.TextSize = 25 minus.BackgroundColor3 = Color3.fromRGB(20,20,20) minus.TextColor3 = Color3.fromRGB(255,75,75) Instance.new("UICorner", minus).CornerRadius = UDim.new(0, 8) local bodyVel, bodyGyro local function startFly() flying = true flyBtn.Text = "Fly: ON" flyBtn.TextColor3 = Color3.fromRGB(0,255,140) bodyVel = Instance.new("BodyVelocity", hrp) bodyVel.MaxForce = Vector3.new(1e6, 1e6, 1e6) bodyVel.Velocity = Vector3.new(0,0,0) bodyGyro = Instance.new("BodyGyro", hrp) bodyGyro.MaxTorque = Vector3.new(1e6, 1e6, 1e6) bodyGyro.P = 20000 while flying and task.wait() do local cam = workspace.CurrentCamera local dir = cam.CFrame.LookVector bodyVel.Velocity = dir * speed * 4 bodyGyro.CFrame = CFrame.new(hrp.Position, hrp.Position + dir) end end local function stopFly() flying = false flyBtn.Text = "Fly: OFF" flyBtn.TextColor3 = Color3.fromRGB(255,75,75) if bodyVel then bodyVel:Destroy() end if bodyGyro then bodyGyro:Destroy() end end flyBtn.MouseButton1Click:Connect(function() if flying then stopFly() else startFly() end end) plus.MouseButton1Click:Connect(function() if speed < 100 then speed += 1 speedLabel.Text = "Speed: " .. speed end end) minus.MouseButton1Click:Connect(function() if speed > 1 then speed -= 1 speedLabel.Text = "Speed: " .. speed end end) game:GetService("UserInputService").InputBegan:Connect(function(key, gp) if gp then return end if key.KeyCode == Enum.KeyCode.F then if flying then stopFly() else startFly() end end end) end