
600 Views
31 Executions
RTVN fly walk
Universal Script 📌
GalaleuFirst script
9 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Fly
-- Fly Walk Script
-- LocalScript
local player = game.Players.LocalPlayer
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local flying = false
local speed = 50
local bodyVelocity
local bodyGyro
local function startFly()
local character = player.Character
if not character then return end
local hrp = character:WaitForChild("HumanoidRootPart")
bodyVelocity = Instance.new("BodyVelocity")
bodyVelocity.Velocity = Vector3.zero
bodyVelocity.MaxForce = Vector3.new(1e5, 1e5, 1e5)
bodyVelocity.Parent = hrp
bodyGyro = Instance.new("BodyGyro")
bodyGyro.MaxTorque = Vector3.new(1e5, 1e5, 1e5)
bodyGyro.CFrame = hrp.CFrame
bodyGyro.Parent = hrp
RunService:BindToRenderStep("FlyWalk", Enum.RenderPriority.Character.Value, function()
local moveDir = Vector3.zero
local camera = workspace.CurrentCamera
if UserInputService:IsKeyDown(Enum.KeyCode.W) then
moveDir += camera.CFrame.LookVector
end
if UserInputService:IsKeyDown(Enum.KeyCode.S) then
moveDir -= camera.CFrame.LookVector
end
if UserInputService:IsKeyDown(Enum.KeyCode.A) then
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







