FLY UNIVERSAL SCRIPT R15
Key RequiredUniversal

FLY UNIVERSAL SCRIPT R15

Universal Scriptfeertngytefeertngyte 612 views 10.2K executesUpdated Aug 10, 2026
Unrated
00
Lua Script•59 lines (1934 chars)
local p = game.Players.LocalPlayer
local c, f, s = workspace.CurrentCamera, false, 50

local g = Instance.new("ScreenGui", game.CoreGui)
g.Name = "ShortFly"

local b = Instance.new("TextButton", g)
b.Size = UDim2.new(0, 140, 0, 50)
b.Position = UDim2.new(0.1, 0, 0.1, 0)
b.Text = "Fly: OFF\nSpeed: " .. s
b.BackgroundColor3 = Color3.fromRGB(30, 30, 35)
b.TextColor3 = Color3.fromRGB(255, 255, 255)
b.Font = Enum.Font.GothamBold
b.TextSize = 13
b.Active = true
b.Draggable = true
Instance.new("UICorner", b).CornerRadius = UDim.new(0, 8)

-- Кнопка вкл/выкл полёта
b.MouseButton1Click:Connect(function()
    f = not f
    b.Text = (f and "Fly: ON" or "Fly: OFF") .. "\nSpeed: " .. s
    b.BackgroundColor3 = f and Color3.fromRGB(0, 162, 255) or Color3.fromRGB(30, 30, 35)
    
    local char = p.Character
    if char and char:FindFirstChild("Humanoid") then
        char.Humanoid.PlatformStand = f
    end
end)

-- Быстрое изменение скорости по клику правой кнопкой / тапу двумя пальцами или вводу
-- Добавим маленькое поле для ввода скорости рядом
local tb = Instance.new("TextBox", g)
tb.Size = UDim2.new(0, 60, 0, 25)
tb.Position = UDim2.new(0.1, 145, 0.1, 0)
tb.Text = tostring(s)
tb.BackgroundColor3 = Color3.fromRGB(40, 40, 50)
tb.TextColor3 = Color3.fromRGB(255, 255, 255)
tb.Font = Enum.Font.GothamBold
tb.TextSize = 12
Instance.new("UICorner", tb).CornerRadius = UDim.new(0, 6)

tb.FocusLost:Connect(function()
    local num = tonumber(tb.Text)
    if num then
        s = num
    else
        tb.Text = tostring(s)
    end
    b.Text = (f and "Fly: ON" or "Fly: OFF") .. "\nSpeed: " .. s
end)

game:GetService("RunService").RenderStepped:Connect(function(dt)
    if f and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
        local hrp = p.Character.HumanoidRootPart
        hrp.CFrame = hrp.CFrame + (c.CFrame.LookVector * s * dt)
        hrp.AssemblyLinearVelocity = Vector3.new(0, 0, 0)
    end
end)

Features & Information

Universal fly script for r15

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts