Run it
Copy the script and paste it into your executor.
local player = game.Players.LocalPlayer
local UIS = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local character = player.Character or player.CharacterAdded:Wait()
local hrp = character:WaitForChild()
humanoid = character:()
flying =
speed =
ascendSpeed =
bv, bg
screenGui = .(, player:())
flyButton = .(, screenGui)
flyButton.Size = .(, , , )
flyButton.Position = .(, , , )
flyButton.Text =
flyButton.BackgroundColor3 = .(, , )
flyButton.TextColor3 = .(,,)
flyButton.TextScaled =
flyButton.BorderSizePixel =
flyButton.BackgroundTransparency =
flyButton.Visible =
flyButton.Active =
flyButton.AutoButtonColor =
flyButton.TextStrokeTransparency =
flyButton.Font = .Font.SourceSansBold
()
flying
flying =
humanoid.PlatformStand =
bv = .(, hrp)
bv.MaxForce = .(, , )
bv.Velocity = .(,,)
bg = .(, hrp)
bg.MaxTorque = .(, , )
bg.P =
flyButton.Text =
()
flying
flying =
bv bv:()
bg bg:()
humanoid.PlatformStand =
flyButton.Text =
flyButton.MouseButton1Click:(()
flying () ()
)
RunService.RenderStepped:(()
flying hrp
cam = .CurrentCamera
bg.CFrame = cam.CFrame
moveDir = .()
UIS:(.KeyCode.W) UIS.TouchEnabled
moveDir = moveDir + cam.CFrame.LookVector
UIS:(.KeyCode.S)
moveDir = moveDir - cam.CFrame.LookVector
UIS:(.KeyCode.Space)
moveDir = moveDir + .(,,)
UIS:(.KeyCode.LeftControl)
moveDir = moveDir - .(,,)
bv.Velocity = moveDir * speed
)
player.CharacterRemoving:(disableFly)FLY

Universal