Fly universal script gui
Key RequiredUniversal

Fly universal script gui

Universal Scriptharley4445rob87harley4445rob87 1.1K views 1.5K executesUpdated Dec 15, 2025
5.0/ 5(1 votes)
10100% Positive
Lua Script•37 lines (1146 chars)
-- Fly GUI Script
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")

-- Create ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = PlayerGui

-- Create Button
local flyButton = Instance.new("TextButton")
flyButton.Size = UDim2.new(0, 200, 0, 50)
flyButton.Position = UDim2.new(0.5, -100, 0.8, 0)
flyButton.Text = "Fly!"
flyButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
flyButton.TextScaled = true
flyButton.Parent = screenGui

-- Fly function
local flying = false
local character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")

flyButton.MouseButton1Click:Connect(function()
    flying = not flying
    if flying then
        flyButton.Text = "Stop Flying"
        -- Simple flying loop
        while flying do
            humanoidRootPart.Velocity = Vector3.new(0, 50, 0) -- fly upward
            wait(0.1)
        end
    else
        flyButton.Text = "Fly!"
        humanoidRootPart.Velocity = Vector3.new(0, 0, 0) -- stop flying
    end
end)

Features & Information

It makes you fly ngl
#fly

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts