Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
UserInput = :()
player = Players.LocalPlayer
char = player.Character player.CharacterAdded:()
hrp = char:()
humanoid = char:()
flying =
speed =
control = {F=,B=,L=,R=,U=,D=}
bv, bg
()
flying
flying =
humanoid.PlatformStand =
bv = .(, hrp)
bv.MaxForce = .(,,)
bv.Velocity = .()
bg = .(, hrp)
bg.MaxTorque = .(,,)
bg.P =
bg.CFrame = .CurrentCamera.CFrame
()
flying
flying =
humanoid.PlatformStand =
bv bv:()
bg bg:()
UserInput.InputBegan:((inp, gp)
gp
k = inp.KeyCode
k == .KeyCode.F ()
k == .KeyCode.Q ()
k == .KeyCode.W control.F =
k == .KeyCode.S control.B =
k == .KeyCode.A control.L =
k == .KeyCode.D control.R =
k == .KeyCode.Space control.U =
k == .KeyCode.LeftControl control.D =
)
UserInput.InputEnded:((inp, gp)
gp
k = inp.KeyCode
k == .KeyCode.W control.F =
k == .KeyCode.S control.B =
k == .KeyCode.A control.L =
k == .KeyCode.D control.R =
k == .KeyCode.Space control.U =
k == .KeyCode.LeftControl control.D =
)
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.Parent = player:()
frame = .(, screenGui)
frame.Size = .(,,,)
frame.Position = .(,,,-)
frame.BackgroundTransparency =
frame.BackgroundColor3 = .(,,)
(text, pos)
b = .(, frame)
b.Size = .(,,,)
b.Position = pos
b.Text = text
b.TextColor3 = .(,,)
b.BackgroundColor3 = .(,,)
b
btnFly = (, .(,, ,))
btnLand = (, .(,, ,))
btnW = (, .(,, ,))
btnA = (, .(,, ,))
btnS = (, .(,, ,))
btnD = (, .(,,,))
btnUp = (, .(,, ,))
btnDn = (, .(,, ,))
btnInc = (, .(,, ,))
btnDec = (, .(,, ,))
lblSpeed = .(, frame)
lblSpeed.Size = .(,,,)
lblSpeed.Position = .(,,,)
lblSpeed.BackgroundTransparency =
lblSpeed.TextColor3 = .(,,)
lblSpeed.Text = (speed)
btnFly.MouseButton1Down:(startFly)
btnLand.MouseButton1Down:(stopFly)
btnW.MouseButton1Down:(() control.F= )
btnW.MouseButton1Up:( () control.F= )
btnS.MouseButton1Down:(() control.B= )
btnS.MouseButton1Up:( () control.B= )
btnA.MouseButton1Down:(() control.L= )
btnA.MouseButton1Up:( () control.L= )
btnD.MouseButton1Down:(() control.R= )
btnD.MouseButton1Up:( () control.R= )
btnUp.MouseButton1Down:(() control.U= )
btnUp.MouseButton1Up:( () control.U= )
btnDn.MouseButton1Down:(() control.D= )
btnDn.MouseButton1Up:( () control.D= )
btnInc.MouseButton1Down:(()
speed = speed +
lblSpeed.Text = (speed)
)
btnDec.MouseButton1Down:(()
speed = .(, speed - )
lblSpeed.Text = (speed)
)
RunService.RenderStepped:(()
flying bv bg
bg.CFrame = .CurrentCamera.CFrame
cam = .CurrentCamera.CFrame
dir = (cam.LookVector * (control.F - control.B)
+ cam.RightVector * (control.R - control.L)
+ .(,,) * (control.U - control.D))
dir.Magnitude >
bv.Velocity = dir.Unit * speed
bv.Velocity = .()
)
Universal