Run it
Copy the script and paste it into your executor.
player = .Players.LocalPlayer
runService = :()
userInputService = :()
flying =
flyConnection =
flyBodyVelocity =
currentAnimTrack =
currentDirection =
normalFOV =
wPressedFOV =
isWPressed =
fovEnabled =
ANIMATIONS = {
FORWARD = ,
BACKWARD = ,
RIGHT = ,
LEFT = ,
UP = ,
DOWN = ,
IDLE = ,
}
keys = {W=, S=, A=, D=, Space=, Control=}
()
char = player.Character
char
char:() char:() char.PrimaryPart
()
char = player.Character
char
char:()
(humanoid)
humanoid
(()
animator = humanoid:()
animator
_, track (animator:())
track:()
)
(direction)
flying
humanoid = ()
humanoid
currentDirection == direction currentAnimTrack currentAnimTrack.IsPlaying
animationId = ANIMATIONS[direction]
animationId
currentAnimTrack
(()
currentAnimTrack:()
currentAnimTrack =
)
(()
animator = humanoid:()
anim = .()
anim.AnimationId = animationId
animator
currentAnimTrack = animator:(anim)
currentAnimTrack = humanoid:(anim)
currentAnimTrack
currentAnimTrack.Looped =
currentAnimTrack:()
)
currentDirection = direction
(val)
(()
.Gravity = val
)
(val)
fovEnabled
(()
.CurrentCamera.FieldOfView = val
)
()
isWPressed flying
(wPressedFOV)
(normalFOV)
()
root = ()
camera = .CurrentCamera
root camera
(()
look = camera.CFrame.LookVector
hLook = .(look.X, , look.Z)
hLook.Magnitude >
hLook = hLook.Unit
root.CFrame = .(root.Position, root.Position + hLook)
)
(dir)
root = ()
root
dir.Magnitude >
dir = dir.Unit
cam = .CurrentCamera
forward = cam.CFrame.LookVector
right = cam.CFrame.RightVector
up = cam.CFrame.UpVector
vel = (forward * dir.Z + right * dir.X + up * dir.Y).Unit *
flyBodyVelocity flyBodyVelocity.Parent ==
flyBodyVelocity = .()
flyBodyVelocity.MaxForce = .(, , ) *
flyBodyVelocity.Parent = root
flyBodyVelocity.Velocity = vel
(()
root.Velocity = vel
root.AssemblyLinearVelocity = vel
)
flyBodyVelocity
flyBodyVelocity:()
flyBodyVelocity =
(()
root = ()
root
root.Velocity = .(, , )
root.AssemblyLinearVelocity = .(, , )
)
()
char = player.Character
char
_, part (char:())
part:()
part.Touched:((hit)
flying
hit hit.Parent hit.Parent:()
root = ()
root
(()
root.Velocity = .(, , )
root.AssemblyLinearVelocity = .(, , )
root.RotVelocity = .(, , )
root.AssemblyAngularVelocity = .(, , )
)
flyBodyVelocity
(()
flyBodyVelocity:()
flyBodyVelocity =
)
hum = ()
hum
(hum)
currentAnimTrack
(()
currentAnimTrack:()
)
()
hum
(()
hum.WalkSpeed =
hum.JumpPower =
hum.PlatformStand =
)
)
userInputService.InputBegan:((input)
key = input.KeyCode
key == .KeyCode.W keys.W = ; isWPressed = ; ()
key == .KeyCode.S keys.S =
key == .KeyCode.A keys.A =
key == .KeyCode.D keys.D =
key == .KeyCode.Space keys.Space =
key == .KeyCode.LeftControl keys.Control =
)
userInputService.InputEnded:((input)
key = input.KeyCode
key == .KeyCode.W keys.W = ; isWPressed = ; ()
key == .KeyCode.S keys.S =
key == .KeyCode.A keys.A =
key == .KeyCode.D keys.D =
key == .KeyCode.Space keys.Space =
key == .KeyCode.LeftControl keys.Control =
)
()
flying = flying
flying
()
hum = ()
hum
hum.WalkSpeed =
hum.JumpPower =
hum.PlatformStand =
hum.AutoRotate =
(hum)
()
()
()
()
()
flyConnection = runService.RenderStepped:(()
flying
root = ()
hum = ()
root hum
.Gravity ~=
.Gravity =
hum.WalkSpeed ~=
hum.WalkSpeed =
hum.JumpPower =
()
moveVec = .()
keys.W moveVec = moveVec + .(, , )
keys.S moveVec = moveVec + .(, , -)
keys.A moveVec = moveVec + .(-, , )
keys.D moveVec = moveVec + .(, , )
keys.Space moveVec = moveVec + .(, , )
keys.Control moveVec = moveVec + .(, -, )
direction =
moveVec.Magnitude >
.(moveVec.Z) > .(moveVec.X)
moveVec.Z > direction =
direction =
moveVec.X > direction =
direction =
moveVec.Y >
direction =
moveVec.Y < -
direction =
(direction)
(moveVec)
()
)
flyConnection
flyConnection:()
flyConnection =
flyBodyVelocity
flyBodyVelocity:()
flyBodyVelocity =
()
(normalFOV)
currentAnimTrack
(()
currentAnimTrack:()
currentAnimTrack =
)
hum = ()
hum
hum.WalkSpeed =
hum.JumpPower =
hum.PlatformStand =
hum.AutoRotate =
root = ()
root
root.Velocity = .(, , )
root.AssemblyLinearVelocity = .(, , )
root.RotVelocity = .(, , )
root.AssemblyAngularVelocity = .(, , )
currentDirection =
()
()
gui = .()
gui.Name =
gui.Parent = player:()
gui.ResetOnSpawn =
btn = .()
btn.Size = .(, , , )
btn.Position = .(, , , )
btn.BackgroundColor3 = .(, , )
btn.TextColor3 = .(, , )
btn.TextScaled =
btn.Text =
btn.Font = .Font.GothamBold
btn.BorderSizePixel =
btn.Parent = gui
corner = .()
corner.CornerRadius = .(, )
corner.Parent = btn
btn.MouseButton1Click:(()
fovEnabled = fovEnabled
btn.BackgroundColor3 = fovEnabled .(, , ) .(, , )
fovEnabled
(normalFOV)
)
()
gui = .()
gui.Name =
gui.Parent = player:()
gui.ResetOnSpawn =
btn = .()
btn.Size = .(, , , )
btn.Position = .(, , , )
btn.BackgroundColor3 = .(, , )
btn.TextColor3 = .(, , )
btn.TextScaled =
btn.Text =
btn.Font = .Font.GothamBold
btn.BorderSizePixel =
btn.Parent = gui
corner = .()
corner.CornerRadius = .(, )
corner.Parent = btn
btn.MouseButton1Click:(()
()
btn.Text = flying
btn.BackgroundColor3 = flying .(, , ) .(, , )
)
()
()
player.CharacterAdded:(()
flying
flyConnection
flyConnection:()
flyConnection =
flyBodyVelocity
flyBodyVelocity:()
flyBodyVelocity =
currentAnimTrack
currentAnimTrack:()
currentAnimTrack =
flying =
()
()
currentDirection =
)
player = .Players.LocalPlayer
runService = :()
root = player.Character player.Character:()
root
()
()
char = player.Character
char
()
_, part (char:())
part:()
( .. part.Name)
( .. root.Name)
()
oldGravity = .Gravity
(()
.Gravity =
( .. .Gravity)
()
.Gravity = oldGravity
( .. .Gravity)
)
()
root
(()
root.Velocity = .(, , )
( .. (root.Velocity))
()
( .. (root.Velocity))
)
()
root
(()
bv = .()
bv.MaxForce = .(, , ) *
bv.Velocity = .(, , )
bv.Parent = root
()
()
bv:()
()
)
()
root
(()
oldPos = root.Position
root.CFrame = root.CFrame + .(, , )
()
()
root.CFrame = .(oldPos)
()
)
()
()
()
()
()
()
()
()
()you can fly

Universal