local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoid = character:WaitForChild("Humanoid") local flying = false local flySpeed = 50 -- Create the GUI local screenGui = Instance.new("ScreenGui") screenGui.Parent = player:WaitForChild("PlayerGui") local mainFrame = Instance.new("Frame") mainFrame.Size = UDim2.new(0, 200, 0, 300) mainFrame.Position = UDim2.new(0.5, -100, 0.5, -150) mainFrame.BackgroundTransparency = 0.5 mainFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0) mainFrame.BorderSizePixel = 0 mainFrame.Parent = screenGui local titleLabel = Instance.new("TextLabel") titleLabel.Size = UDim2.new(1, 0, 0, 50) titleLabel.Position = UDim2.new(0, 0, 0, 0) titleLabel.Text = "Fly Hack Menu" titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) titleLabel.BackgroundTransparency = 1 titleLabel.Font = Enum.Font.SourceSansBold titleLabel.TextSize = 24 titleLabel.Parent = mainFrame local flyButton = Instance.new("TextButton") flyButton.Size = UDim2.new(0, 180, 0, 50) flyButton.Position = UDim2.new(0.5, -90, 0.5, -75) flyButton.Text = "Toggle Fly" flyButton.TextColor3 = Color3.fromRGB(255, 255, 255) flyButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50) flyButton.Font = Enum.Font.SourceSans flyButton.TextSize = 20 flyButton.Parent = mainFrame local speedLabel = Instance.new("TextLabel") speedLabel.Size = UDim2.new(0, 180, 0, 50) speedLabel.Position = UDim2.new(0.5, -90, 0.5, -15) speedLabel.Text = "Speed: " .. flySpeed speedLabel.TextColor3 = Color3.fromRGB(255, 255, 255) speedLabel.BackgroundTransparency = 1 speedLabel.Font = Enum.Font.SourceSans speedLabel.TextSize = 20 speedLabel.Parent = mainFrame local increaseSpeedButton = Instance.new("TextButton") increaseSpeedButton.Size = UDim2.new(0, 50, 0, 50) increaseSpeedButton.Position = UDim2.new(0.5, 40, 0.5, 45) increaseSpeedButton.Text = "+" increaseSpeedButton.TextColor3 = Color3.fromRGB(255, 255, 255) increaseSpeedButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50) increaseSpeedButton.Font = Enum.Font.SourceSans increaseSpeedButton.TextSize = 20 increaseSpeedButton.Parent = mainFrame local decreaseSpeedButton = Instance.new("TextButton") decreaseSpeedButton.Size = UDim2.new(0, 50, 0, 50) decreaseSpeedButton.Position = UDim2.new(0.5, -90, 0.5, 45) decreaseSpeedButton.Text = "-" decreaseSpeedButton.TextColor3 = Color3.fromRGB(255, 255, 255) decreaseSpeedButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50) decreaseSpeedButton.Font = Enum.Font.SourceSans decreaseSpeedButton.TextSize = 20 decreaseSpeedButton.Parent = mainFrame local guideButton = Instance.new("TextButton") guideButton.Size = UDim2.new(0, 180, 0, 50) guideButton.Position = UDim2.new(0.5, -90, 0.5, 105) guideButton.Text = "Visit Lua Leon Guide" guideButton.TextColor3 = Color3.fromRGB(255, 255, 255) guideButton.BackgroundColor3 = Color3.fromRGB(50, 50, 50) guideButton.Font = Enum.Font.SourceSans guideButton.TextSize = 20 guideButton.Parent = mainFrame -- Add UI Effects local uiGradient = Instance.new("UIGradient") uiGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 0, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(50, 50, 50))} uiGradient.Rotation = 90 mainFrame.BackgroundTransparency = 0 mainFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0) uiGradient.Parent = mainFrame local uiCorner = Instance.new("UICorner") uiCorner.CornerRadius = UDim.new(0, 10) uiCorner.Parent = flyButton local uiCorner2 = Instance.new("UICorner") uiCorner2.CornerRadius = UDim.new(0, 10) uiCorner2.Parent = increaseSpeedButton local uiCorner3 = Instance.new("UICorner") uiCorner3.CornerRadius = UDim.new(0, 10) uiCorner3.Parent = decreaseSpeedButton local uiCorner4 = Instance.new("UICorner") uiCorner4.CornerRadius = UDim.new(0, 10) uiCorner4.Parent = guideButton -- Fly function local function fly() local bodyVelocity = Instance.new("BodyVelocity") bodyVelocity.Velocity = Vector3.new(0, flySpeed, 0) bodyVelocity.P = 10000 bodyVelocity.MaxForce = Vector3.new(0, 10000, 0) bodyVelocity.Parent = character.HumanoidRootPart local bodyGyro = Instance.new("BodyGyro") bodyGyro.MaxTorque = Vector3.new(0, 0, 0) bodyGyro.P = 3000 bodyGyro.Parent = character.HumanoidRootPart while flying do bodyVelocity.Velocity = Vector3.new(0, flySpeed, 0) wait(0.1) end bodyVelocity:Destroy() bodyGyro:Destroy() end -- Toggle fly function local function toggleFly() flying = not flying if flying then fly() end end flyButton.MouseButton1Click:Connect(toggleFly) -- Increase speed function local function increaseSpeed() flySpeed = flySpeed + 10 speedLabel.Text = "Speed: " .. flySpeed end increaseSpeedButton.MouseButton1Click:Connect(increaseSpeed) -- Decrease speed function local function decreaseSpeed() flySpeed = math.max(10, flySpeed - 10) speedLabel.Text = "Speed: " .. flySpeed end decreaseSpeedButton.MouseButton1Click:Connect(decreaseSpeed) -- Open guide function local function openGuide() setclipboard("https://www.paste.tc/u/lualeon") game.StarterGui:SetCore("SendNotification", { Title = "Guide Copied"; Text = "Link copied to clipboard: https://www.paste.tc/u/lualeon"; Duration = 5; }) end guideButton.MouseButton1Click:Connect(openGuide)