Fonctionnel
FLYLYLLYLLY THIS IS A FLY SCRUPTT

Code du script
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)Description
THIS IS A FLY SCRIPT THIS IS NOT MADE BY AI IT WAS INDEED MADE BY ME AFJHAKDJFHASDKFJHASKDFJHASKDFJHASDKFJHASDKJFHASDFKJHASDKFJHASDFHASDFKJ
Commentaires (0)
Connectez-vous pour participer à la conversation
- Soyez le premier à commenter.
Questions fréquentes
- Comment utiliser le script FLYLYLLYLLY THIS IS A FLY SCRUPTT ?
- Copiez le code ci-dessus, ouvrez votre exécuteur Roblox, collez le code et appuyez sur exécuter pendant que vous êtes dans le jeu. Les fonctionnalités s'activent instantanément une fois le script lancé.
- Le script FLYLYLLYLLY THIS IS A FLY SCRUPTT est-il gratuit ?
- Oui. Ce script est gratuit à copier et utiliser. S'il utilise un système de clé, suivez le lien « Obtenir la clé » pour le débloquer gratuitement.
- Le script FLYLYLLYLLY THIS IS A FLY SCRUPTT est-il sûr à utiliser ?
- Le code source complet est affiché sur cette page pour que vous puissiez lire exactement ce qu'il fait avant de l'exécuter. Utilisez toujours un exécuteur de confiance, et n'oubliez pas que l'utilisation de scripts est contraire aux conditions d'utilisation de Roblox — utilisez-les à vos propres risques.
- Quel exécuteur fonctionne avec FLYLYLLYLLY THIS IS A FLY SCRUPTT ?
- Ce script fonctionne avec la plupart des exécuteurs Roblox populaires. Consultez notre page d'exécuteurs pour trouver un exécuteur gratuit ou payant fiable pour votre appareil.