콘텐츠로 건너뛰기
작동 중Movement

FLYLYLLYLLY THIS IS A FLY SCRUPTT

POPooPoo544 조회수Universal2026년 7월 28일
공유
FLYLYLLYLLY THIS IS A FLY SCRUPTT

스크립트 코드

Lua
-- Simple Fly Script (for educational purposes / Roblox Studio testing)
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local rootPart = character:WaitForChild("HumanoidRootPart")

local flying = false
local flySpeed = 50
local bv, bg

local function startFly()
    if flying then return end
    flying = true
    
    bv = Instance.new("BodyVelocity")
    bv.MaxForce = Vector3.new(1e5, 1e5, 1e5)
    bv.Velocity = Vector3.new(0, 0, 0)
    bv.Parent = rootPart
    
    bg = Instance.new("BodyGyro")
    bg.MaxTorque = Vector3.new(1e5, 1e5, 1e5)
    bg.P = 12500
    bg.Parent = rootPart
    
    humanoid.PlatformStand = true
end

local function stopFly()
    if not flying then return end
    flying = false
    humanoid.PlatformStand = false
    if bv then bv:Destroy() end
    if bg then bg:Destroy() end
end

local function updateFly()
    if not flying then return end
    
    local moveDirection = Vector3.new(0, 0, 0)
    if UserInputService:IsKeyDown(Enum.KeyCode.W) then moveDirection = moveDirection + workspace.CurrentCamera.CFrame.LookVector end
    if UserInputService:IsKeyDown(Enum.KeyCode.S) then moveDirection = moveDirection - workspace.CurrentCamera.CFrame.LookVector end
    if UserInputService:IsKeyDown(Enum.KeyCode.A) then moveDirection = moveDirection - workspace.CurrentCamera.CFrame.RightVector end
    if UserInputService:IsKeyDown(Enum.KeyCode.D) then moveDirection = moveDirection + workspace.CurrentCamera.CFrame.RightVector end
    if UserInputService:IsKeyDown(Enum.KeyCode.Space) then moveDirection = moveDirection + Vector3.new(0, 1, 0) end
    if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then moveDirection = moveDirection - Vector3.new(0, 1, 0) end
    
    bv.Velocity = moveDirection.Unit * flySpeed
    bg.CFrame = workspace.CurrentCamera.CFrame
end

-- Toggle with F key
UserInputService.InputBegan:Connect(function(input)
    if input.KeyCode == Enum.KeyCode.F then
        if flying then
            stopFly()
        else
            startFly()
        end
    end
end)

RunService.Heartbeat:Connect(updateFly)

-- Cleanup
player.CharacterAdded:Connect(function(newChar)
    character = newChar
    humanoid = newChar:WaitForChild("Humanoid")
    rootPart = newChar:WaitForChild("HumanoidRootPart")
    if flying then stopFly() end
end)

설명

THIS IS A FLY SCRIPT THIS IS NOT MADE BY AI IT WAS INDEED MADE BY ME AFJHAKDJFHASDKFJHASKDFJHASKDFJHASDKFJHASDKJFHASDFKJHASDKFJHASDFHASDFKJ

댓글 (0)

대화에 참여하려면 로그인하세요

  • 첫 댓글을 작성하세요.

자주 묻는 질문

FLYLYLLYLLY THIS IS A FLY SCRUPTT 스크립트는 어떻게 사용하나요?
위의 스크립트 코드를 복사하고 Roblox에서 Universal에 접속한 뒤, 익스큐터에 붙여넣고 실행하세요. 스크립트가 실행되면 기능이 바로 활성화됩니다.
FLYLYLLYLLY THIS IS A FLY SCRUPTT은(는) 아직 작동하나요?
네 — FLYLYLLYLLY THIS IS A FLY SCRUPTT은(는) 현재 작동 중으로 표시되어 있습니다(마지막 업데이트: 2026년 9월 21일). Roblox 업데이트 후 작동하지 않으면 새 버전을 기다려 주세요.
FLYLYLLYLLY THIS IS A FLY SCRUPTT에 호환되는 엑시큐터는?
이 스크립트는 대부분의 인기 Roblox 엑시큐터에서 작동합니다. 기기에 맞는 신뢰할 수 있는 무료 또는 유료 엑시큐터를 찾으려면 엑시큐터 페이지를 확인하세요.