
18.5k Views
314 Executions
Flying scripts keyless (read in my description)
Universal Script 📌
1 year 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
So this script can actually make you fly but if you think the script is doesn't work you needed to use a keyboard script to make it work Here is the control W - front A - left D - right S - back Oh wait I have something to tell you you can change the speed if you like
-- LocalScript under StarterGui (only one script needed)
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
local UIS = game:GetService("UserInputService")
local runService = game:GetService("RunService")
-- GUI creation
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "FlyGui"
screenGui.ResetOnSpawn = false
screenGui.Parent = player:WaitForChild("PlayerGui")
local button = Instance.new("TextButton")
button.Size = UDim2.new(0, 120, 0, 40)
button.Position = UDim2.new(0.5, -60, 0.5, -20)
button.Text = "Fly Mode"
button.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
button.TextColor3 = Color3.new(1, 1, 1)
button.Font = Enum.Font.SourceSansBold
button.TextSize = 20
button.Draggable = true
button.Active = true
button.Parent = screenGui
-- Fly logic
local flying = false
local flyConnection = nil
local moveDir = Vector3.zero
local bodyGyro, bodyVelocity
local function startFlying()
character = player.Character or player.CharacterAdded:Wait()
humanoidRootPart = character:WaitForChild("HumanoidRootPart")
bodyGyro = Instance.new("BodyGyro")
bodyGyro.P = 9e4
bodyGyro.MaxTorque = Vector3.new(9e9, 9e9, 9e9)
bodyGyro.CFrame = humanoidRootPart.CFrame









Do I copy all that?
Whats the script?