Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
player = Players.LocalPlayer
flying =
speed =
attachment, velocity, gyro
gui = .()
gui.Name =
gui.ResetOnSpawn =
gui.Parent = player:()
frame = .()
frame.Size = .(, )
frame.Position = .(, -, , -)
frame.BackgroundColor3 = .(, , )
frame.BackgroundTransparency =
frame.Parent = gui
(text, y, color)
b = .()
b.Size = .(, -, , )
b.Position = .(, y)
b.Text = text
b.TextScaled =
b.TextColor3 = .(, , )
b.BackgroundColor3 = color
b.Parent = frame
.(, b).CornerRadius = .(, )
b
toggle = (, , .(, , ))
up = (, , .(, , ))
down = (, , .(, , ))
upHeld, downHeld = ,
up.MouseButton1Down:(() upHeld = )
up.MouseButton1Up:(() upHeld = )
up.Activated:(() )
down.MouseButton1Down:(() downHeld = )
down.MouseButton1Up:(() downHeld = )
()
flying =
upHeld, downHeld = ,
attachment attachment:(); attachment =
velocity velocity:(); velocity =
gyro gyro:(); gyro =
character = player.Character
humanoid = character character:()
humanoid
humanoid.PlatformStand =
humanoid:(.HumanoidStateType.GettingUp)
toggle.Text =
toggle.BackgroundColor3 = .(, , )
()
character = player.Character
humanoid = character character:()
root = character character:()
humanoid root
flying =
toggle.Text =
toggle.BackgroundColor3 = .(, , )
attachment = .()
attachment.Parent = root
velocity = .()
velocity.Attachment0 = attachment
velocity.RelativeTo = .ActuatorRelativeTo.World
velocity.VelocityConstraintMode = .VelocityConstraintMode.Vector
velocity.MaxForce = .huge
velocity.VectorVelocity = .zero
velocity.Parent = root
gyro = .()
gyro.Attachment0 = attachment
gyro.Mode = .OrientationAlignmentMode.OneAttachment
gyro.MaxTorque = .huge
gyro.Responsiveness =
gyro.Parent = root
humanoid.PlatformStand =
RunService:()
RunService:(, .RenderPriority.Input.Value, ()
flying root.Parent
()
camera = .CurrentCamera
camera
direction = .zero
move = humanoid.MoveDirection
move.Magnitude >
direction += move
upHeld direction += .yAxis
downHeld direction -= .yAxis
velocity.VectorVelocity =
direction.Magnitude > direction.Unit * speed .zero
move.Magnitude >
gyro.CFrame = .(
root.Position,
root.Position + .(move.X, , move.Z)
)
)
toggle.Activated:(()
flying
()
()
)
player.CharacterAdded:(()
()
)Fly

Universal