simple fly gui
Key RequiredUniversal

simple fly gui

Universal Scriptenigmatheligmaenigmatheligma 2.6K views 5.5K executesUpdated Dec 22, 2025
Unrated
00
Lua Script•242 lines (7481 chars)
-- Seeds Fly Gui v4 🌱💚
-- Clean green seed theme, instant noclip off, no drift

local Players = game:GetService("Players")
local UIS = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer

-- ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "SeedsFlyGui"
screenGui.ResetOnSpawn = false
screenGui.Parent = player:WaitForChild("PlayerGui")

-- Main Frame
local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0, 280, 0, 240)
mainFrame.Position = UDim2.new(0.5, -140, 0.3, 0)
mainFrame.BackgroundColor3 = Color3.fromRGB(15, 20, 15)
mainFrame.BackgroundTransparency = 0.1
mainFrame.BorderSizePixel = 0
mainFrame.ClipsDescendants = true
mainFrame.Parent = screenGui

Instance.new("UICorner", mainFrame).CornerRadius = UDim.new(0, 12)
local stroke = Instance.new("UIStroke", mainFrame)
stroke.Color = Color3.fromRGB(0, 255, 120) -- green glow
stroke.Thickness = 2
stroke.Transparency = 0.35

-- Title
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, -80, 0, 40)
title.BackgroundTransparency = 1
title.Text = "Seeds Fly Gui"
title.TextColor3 = Color3.fromRGB(0, 255, 120)
title.Font = Enum.Font.GothamBold
title.TextSize = 20
title.Parent = mainFrame

-- Close & Minimize
local closeBtn = Instance.new("TextButton")
closeBtn.Size = UDim2.new(0, 30, 0, 30)
closeBtn.Position = UDim2.new(1, -35, 0, 5)
closeBtn.BackgroundColor3 = Color3.fromRGB(255, 60, 60)
closeBtn.Text = "X"
closeBtn.TextColor3 = Color3.new(1,1,1)
closeBtn.Font = Enum.Font.GothamBold
closeBtn.Parent = mainFrame
Instance.new("UICorner", closeBtn).CornerRadius = UDim.new(0, 8)

local minBtn = Instance.new("TextButton")
minBtn.Size = UDim2.new(0, 30, 0, 30)
minBtn.Position = UDim2.new(1, -70, 0, 5)
minBtn.BackgroundColor3 = Color3.fromRGB(0, 180, 90)
minBtn.Text = "−"
minBtn.TextColor3 = Color3.new(1,1,1)
minBtn.Font = Enum.Font.GothamBold
minBtn.TextSize = 24
minBtn.Parent = mainFrame
Instance.new("UICorner", minBtn).CornerRadius = UDim.new(0, 8)

-- Speed Box
local speedBox = Instance.new("TextBox")
speedBox.Size = UDim2.new(0.8, 0, 0, 35)
speedBox.Position = UDim2.new(0.1, 0, 0, 60)
speedBox.BackgroundColor3 = Color3.fromRGB(25, 35, 25)
speedBox.PlaceholderText = "Fly Speed (default 100)"
speedBox.Text = "100"
speedBox.TextColor3 = Color3.fromRGB(0, 255, 120)
speedBox.Font = Enum.Font.Gotham
speedBox.TextSize = 18
speedBox.Parent = mainFrame
Instance.new("UICorner", speedBox)
local speedStroke = Instance.new("UIStroke", speedBox)
speedStroke.Color = Color3.fromRGB(0, 200, 100)
speedStroke.Thickness = 1

-- Fly Button
local flyBtn = Instance.new("TextButton")
flyBtn.Size = UDim2.new(0.8, 0, 0, 45)
flyBtn.Position = UDim2.new(0.1, 0, 0, 110)
flyBtn.BackgroundColor3 = Color3.fromRGB(0, 180, 90)
flyBtn.Text = "Fly [OFF]"
flyBtn.TextColor3 = Color3.new(1,1,1)
flyBtn.Font = Enum.Font.GothamBold
flyBtn.TextSize = 20
flyBtn.Parent = mainFrame
Instance.new("UICorner", flyBtn)

-- Noclip Button
local noclipBtn = Instance.new("TextButton")
noclipBtn.Size = UDim2.new(0.8, 0, 0, 45)
noclipBtn.Position = UDim2.new(0.1, 0, 0, 165)
noclipBtn.BackgroundColor3 = Color3.fromRGB(0, 140, 70)
noclipBtn.Text = "Noclip [OFF]"
noclipBtn.TextColor3 = Color3.new(1,1,1)
noclipBtn.Font = Enum.Font.GothamBold
noclipBtn.TextSize = 20
noclipBtn.Parent = mainFrame
Instance.new("UICorner", noclipBtn)

-- Dragging
local dragging = false
local dragStart, startPos
title.InputBegan:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 then
        dragging = true
        dragStart = input.Position
        startPos = mainFrame.Position
    end
end)
title.InputChanged:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseMovement and dragging then
        local delta = input.Position - dragStart
        mainFrame.Position = UDim2.new(
            startPos.X.Scale, startPos.X.Offset + delta.X,
            startPos.Y.Scale, startPos.Y.Offset + delta.Y
        )
    end
end)
UIS.InputEnded:Connect(function(input)
    if input.UserInputType == Enum.UserInputType.MouseButton1 then
        dragging = false
    end
end)

-- Fly vars
local flying = false
local noclip = false
local speed = 100
local keys = {W=false,A=false,S=false,D=false}
local bv, bg, char, hum, root

local function startFly()
    char = player.Character or player.CharacterAdded:Wait()
    hum = char:WaitForChild("Humanoid")
    root = char:WaitForChild("HumanoidRootPart")
    hum.PlatformStand = true

    bv = Instance.new("BodyVelocity")
    bv.MaxForce = Vector3.new(1e5,1e5,1e5)
    bv.Parent = root

    bg = Instance.new("BodyGyro")
    bg.MaxTorque = Vector3.new(1e5,1e5,1e5)
    bg.P = 15000
    bg.Parent = root
end

local function stopFly()
    if bv then bv:Destroy() bv=nil end
    if bg then bg:Destroy() bg=nil end
    if hum then hum.PlatformStand=false end
end

-- Noclip
local function enableNoclip()
    char = player.Character
    for _,p in pairs(char:GetDescendants()) do
        if p:IsA("BasePart") then p.CanCollide=false end
    end
end

local function disableNoclip()
    if not player.Character then return end
    for _,p in pairs(player.Character:GetDescendants()) do
        if p:IsA("BasePart") then p.CanCollide=true end
    end
end

-- Buttons
flyBtn.MouseButton1Click:Connect(function()
    flying = not flying
    flyBtn.Text = "Fly ["..(flying and "ON" or "OFF").."]"
    flyBtn.BackgroundColor3 = flying and Color3.fromRGB(0,255,120) or Color3.fromRGB(0,180,90)
    if flying then startFly() else stopFly() end
end)

noclipBtn.MouseButton1Click:Connect(function()
    noclip = not noclip
    noclipBtn.Text = "Noclip ["..(noclip and "ON" or "OFF").."]"
    noclipBtn.BackgroundColor3 = noclip and Color3.fromRGB(0,255,120) or Color3.fromRGB(0,140,70)
    if noclip then enableNoclip() else disableNoclip() end
end)

speedBox.FocusLost:Connect(function(enter)
    if enter then
        local n = tonumber(speedBox.Text)
        if n and n>0 then speed=n else speedBox.Text=tostring(speed) end
    end
end)

minBtn.MouseButton1Click:Connect(function()
    TweenService:Create(
        mainFrame,
        TweenInfo.new(0.3),
        {Size = mainFrame.Size.Y.Offset==240 and UDim2.new(0,280,0,40) or UDim2.new(0,280,0,240)}
    ):Play()
end)

closeBtn.MouseButton1Click:Connect(function()
    stopFly()
    disableNoclip()
    screenGui:Destroy()
end)

-- Movement
RunService.RenderStepped:Connect(function()
    if flying and root then
        local cam = workspace.CurrentCamera
        local x = (keys.A and -1 or 0) + (keys.D and 1 or 0)
        local z = (keys.W and -1 or 0) + (keys.S and 1 or 0)
        local y = (UIS:IsKeyDown(Enum.KeyCode.Space) and 1 or 0)
                - (UIS:IsKeyDown(Enum.KeyCode.LeftControl) and 1 or 0)

        if x~=0 or y~=0 or z~=0 then
            local dir = (cam.CFrame * Vector3.new(x,y,z)) - cam.CFrame.Position
            bv.Velocity = dir.Unit * speed
        else
            bv.Velocity = Vector3.zero
        end
        bg.CFrame = cam.CFrame
    end

    if noclip and player.Character then
        enableNoclip()
    end
end)

-- Keys
UIS.InputBegan:Connect(function(i,g)
    if g then return end
    if keys[i.KeyCode.Name]~=nil then keys[i.KeyCode.Name]=true end
end)
UIS.InputEnded:Connect(function(i)
    if keys[i.KeyCode.Name]~=nil then keys[i.KeyCode.Name]=false end
end)

-- enjoy the clean  seed's drip twin 🌱💚✈️

Features & Information

it has a fly gui nothing special its also a free source code so you can mod it for your self!
#flygui

Community Comments (1)

enigmatheligmaenigmatheligmaDec 22, 2025

replay to this profile if u find any bugs!

More Scripts for Universal Scripts