flying around
Key RequiredUniversal

flying around

Universal Script09_9309_93 1.1K views 1.3K executesUpdated May 18, 2026
Unrated
00
Lua Script•187 lines (5834 chars)
-- k8x鈭�憌� - Optimized Version
assert(hookmetamethod, "Your executor doesn't support hookmetamethod.")

if not game:IsLoaded() then
    game.Loaded:Wait()
end

local players = game:GetService("Players")
local localPlayer = players.LocalPlayer
local UIS = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")

-- 1. �𦦵鍂����鞟恣蝺� (�俈甇W�䀹䲮瑼X葫�典�銵𣬚��)
for i, v in getgc() do
    if typeof(v) == "function" and string.find(debug.info(v, "s"), "AnalyticsPipelineController") then
        hookfunction(v, function()
            return task.wait(9e9) 
        end)
    end 
end

-- 2. 皜�����𠹺�钅𢒰
local guiName = "k8x鈭�憌�"
local oldGui = localPlayer.PlayerGui:FindFirstChild(guiName)
if oldGui then oldGui:Destroy() end

local gui = Instance.new("ScreenGui")
gui.Name = guiName
gui.ResetOnSpawn = false
gui.Parent = localPlayer:WaitForChild("PlayerGui")

-- 3. 銝餅��沲 (MAIN FRAME)
local main = Instance.new("Frame")
main.Size = UDim2.new(0, 320, 0, 80)
main.Position = UDim2.new(0.5, -160, -0.2, 0)
main.BackgroundColor3 = Color3.fromRGB(18,18,22)
main.BackgroundTransparency = 0.4 
main.BorderSizePixel = 0
main.Parent = gui
Instance.new("UICorner", main).CornerRadius = UDim.new(0,12)

-- RGB ���函�𡁏��
local topLine = Instance.new("Frame")
topLine.Size = UDim2.new(1,0,0,3)
topLine.Parent = main

local rgbOn = false
task.spawn(function()
    local h = 0
    while true do
        if rgbOn then
            h = (h + 0.005) % 1
            topLine.BackgroundColor3 = Color3.fromHSV(h,1,1)
        else
            topLine.BackgroundColor3 = Color3.fromRGB(0,180,255)
        end
        task.wait()
    end
end)

-- 璅䠷��
local title = Instance.new("TextLabel")
title.Size = UDim2.new(1,0,0.45,0)
title.Position = UDim2.new(0,0,0,4)
title.Text = "K8X 鈭�憌�"
title.Font = Enum.Font.Arcade
title.TextSize = 24
title.TextColor3 = Color3.fromRGB(230,230,230)
title.BackgroundTransparency = 1
title.Parent = main

-- �彍�澆捆�膥
local centerContainer = Instance.new("Frame")
centerContainer.Size = UDim2.new(0, 210, 0, 30)
centerContainer.Position = UDim2.new(0.42, -105, 0.6, 0) 
centerContainer.BackgroundTransparency = 1
centerContainer.Parent = main

-- Y 摨扳�䠷*蝷�
local ytext = Instance.new("TextLabel")
ytext.Size = UDim2.new(0, 160, 1, 0)
ytext.Position = UDim2.new(0, 0, 0, 0)
ytext.Text = "Y: 4002"
ytext.Font = Enum.Font.GothamBlack
ytext.TextColor3 = Color3.fromRGB(0,255,180)
ytext.BackgroundTransparency = 1
ytext.TextXAlignment = Enum.TextXAlignment.Right 
ytext.TextScaled = true 
ytext.Parent = centerContainer
Instance.new("UITextSizeConstraint", ytext).MaxTextSize = 18

-- ���见�誯��
local statusDot = Instance.new("Frame")
statusDot.Size = UDim2.new(0, 8, 0, 8) 
statusDot.Position = UDim2.new(0, 168, 0.5, -4) 
statusDot.BackgroundColor3 = Color3.fromRGB(150,0,0)
statusDot.BorderSizePixel = 0
statusDot.Parent = centerContainer
Instance.new("UICorner", statusDot).CornerRadius = UDim.new(1,0)

-- ��钅�𨀣�厰��
local button = Instance.new("TextButton")
button.Size = UDim2.new(0,70,0,30)
button.Position = UDim2.new(1,-80,1,-35)
button.Text = "OFF"
button.Font = Enum.Font.Code
button.TextSize = 16
button.BackgroundColor3 = Color3.fromRGB(50,50,50)
button.TextColor3 = Color3.new(1,1,1)
button.Parent = main
Instance.new("UICorner", button).CornerRadius = UDim.new(0,8)

-- 4. ��閧𧞄����硋�訫�蠘��
main.BackgroundTransparency = 1
task.spawn(function()
    task.wait(0.3)
    TweenService:Create(main,TweenInfo.new(0.5),{Position = UDim2.new(0.5,-160,0.05,0), BackgroundTransparency = 0.4}):Play()
end)

local dragging, offset
main.InputBegan:Connect(function(i)
    if i.UserInputType==Enum.UserInputType.MouseButton1 or i.UserInputType==Enum.UserInputType.Touch then
        dragging=true
        offset=i.Position-main.AbsolutePosition
    end
end)
UIS.InputEnded:Connect(function(i) if i.UserInputType==Enum.UserInputType.MouseButton1 or i.UserInputType==Enum.UserInputType.Touch then dragging=false end end)
UIS.InputChanged:Connect(function(i) if dragging then main.Position=UDim2.new(0,i.Position.X-offset.X,0,i.Position.Y-offset.Y) end end)

-- 5. �瓲敹��讛摩 (鈭�憌𥡝����彍��)
local enabled = false
local lastPos = nil
local flip = true
local START_NUMBER = 284719334 
local fakeY = START_NUMBER
local SPAM_SPEED = 1420583

-- �彍�潭凒�鰵蝺𡁶��
task.spawn(function()
    while true do
        if enabled then
            fakeY = fakeY + math.random(SPAM_SPEED - 5000, SPAM_SPEED + 5000)
            ytext.Text = "Y: " .. string.format("%.0f", fakeY)
        else
            ytext.Text = "Y: 4002"
        end
        task.wait(0.05)
    end
end)

-- ��厰�閖�墧�𠹺�衤辣
button.MouseButton1Click:Connect(function()
    enabled = not enabled
    local char = localPlayer.Character
    local hrp = char and char:FindFirstChild("HumanoidRootPart")

    if enabled then
        fakeY = START_NUMBER
        button.Text = "ON"
        button.BackgroundColor3 = Color3.fromRGB(0,180,100)
        statusDot.BackgroundColor3 = Color3.fromRGB(0,255,120) 
        rgbOn = true
        if hrp then lastPos = hrp.CFrame end

        -- 鈭�憌𥡝歲頧厩�𡁶��
        task.spawn(function()
            while enabled do
                local hrp = char and char:FindFirstChild("HumanoidRootPart")
                if hrp then
                    for i = 1, 50 do
                        -- �銁璆菟�睃漣璅躰��扔雿𤾸漣璅䠷�枏翰�笔����
                        hrp.CFrame = flip and CFrame.new(0, 1e16, 0) or CFrame.new(0, -1e16, 0)
                        flip = not flip
                    end
                end
                task.wait()
            end
        end)
    else
        button.Text = "OFF"
        button.BackgroundColor3 = Color3.fromRGB(50,50,50)
        statusDot.BackgroundColor3 = Color3.fromRGB(150,0,0) 
        rgbOn = false
        -- ��𣈯�㗇��喲����𧼮�煺��
        if hrp and lastPos then hrp.CFrame = lastPos end
    end
end)

Features & Information

fly

Community Comments (1)

09_9309_93May 20, 2026

@ff0wz0aqjug5 No 🗿

More Scripts for Universal Scripts