Run it
Copy the script and paste it into your executor.
Players = :()
RunService = :()
UserInputService = :()
player = Players.LocalPlayer
character = player.Character player.CharacterAdded:()
humanoidRootPart = character:()
flying =
flySpeed =
toggleKey = .KeyCode.F
guiToggleKey = .KeyCode.RightShift
waitingForKeyInput =
waitingForGuiKeyInput =
gui = .()
gui.Name =
gui.ResetOnSpawn =
gui.Parent = player:()
frame = .()
frame.Size = .(, , , )
frame.Position = .(, -, , )
frame.BackgroundColor3 = .(, , )
frame.BackgroundTransparency =
frame.BorderSizePixel =
frame.AnchorPoint = .(, )
frame.Active =
frame.Draggable =
frame.Visible =
frame.Parent = gui
toggleButton = .()
toggleButton.Size = .(, , , )
toggleButton.Position = .(, , , )
toggleButton.BackgroundColor3 = .(, , )
toggleButton.TextColor3 = .(, , )
toggleButton.Font = .Font.SourceSansBold
toggleButton.TextSize =
toggleButton.Text =
toggleButton.Parent = frame
speedBox = .()
speedBox.Size = .(, , , )
speedBox.Position = .(, , , )
speedBox.BackgroundColor3 = .(, , )
speedBox.TextColor3 = .(, , )
speedBox.Font = .Font.SourceSansBold
speedBox.TextSize =
speedBox.PlaceholderText =
speedBox.Text = (flySpeed)
speedBox.ClearTextOnFocus =
speedBox.Parent = frame
keybindButton = .()
keybindButton.Size = .(, , , )
keybindButton.Position = .(, , , )
keybindButton.BackgroundColor3 = .(, , )
keybindButton.TextColor3 = .(, , )
keybindButton.Font = .Font.SourceSansBold
keybindButton.TextSize =
keybindButton.Text =
keybindButton.Parent = frame
keybindLabel = .()
keybindLabel.Size = .(, , , )
keybindLabel.Position = .(, , , )
keybindLabel.BackgroundColor3 = .(, , )
keybindLabel.TextColor3 = .(, , )
keybindLabel.Font = .Font.SourceSans
keybindLabel.TextSize =
keybindLabel.Text = toggleKey.Name
keybindLabel.BorderSizePixel =
keybindLabel.Parent = frame
guiKeyButton = .()
guiKeyButton.Size = .(, , , )
guiKeyButton.Position = .(, , , )
guiKeyButton.BackgroundColor3 = .(, , )
guiKeyButton.TextColor3 = .(, , )
guiKeyButton.Font = .Font.SourceSansBold
guiKeyButton.TextSize =
guiKeyButton.Text =
guiKeyButton.Parent = frame
guiKeyLabel = .()
guiKeyLabel.Size = .(, , , )
guiKeyLabel.Position = .(, , , )
guiKeyLabel.BackgroundColor3 = .(, , )
guiKeyLabel.TextColor3 = .(, , )
guiKeyLabel.Font = .Font.SourceSans
guiKeyLabel.TextSize =
guiKeyLabel.Text = guiToggleKey.Name
guiKeyLabel.BorderSizePixel =
guiKeyLabel.Parent = frame
bodyGyro, bodyVelocity
()
root = player.Character player.Character:()
root
bodyGyro = .()
bodyGyro.P =
bodyGyro.MaxTorque = .(, , )
bodyGyro.CFrame = root.CFrame
bodyGyro.Parent = root
bodyVelocity = .()
bodyVelocity.Velocity = .(, , )
bodyVelocity.MaxForce = .(, , )
bodyVelocity.Parent = root
()
bodyGyro bodyGyro:() bodyGyro =
bodyVelocity bodyVelocity:() bodyVelocity =
()
flying = flying
toggleButton.Text = flying
flying () ()
toggleButton.MouseButton1Click:(toggleFly)
keybindButton.MouseButton1Click:(()
keybindLabel.Text =
waitingForKeyInput =
)
guiKeyButton.MouseButton1Click:(()
guiKeyLabel.Text =
waitingForGuiKeyInput =
)
UserInputService.InputBegan:((input, gameProcessed)
gameProcessed
waitingForKeyInput input.UserInputType == .UserInputType.Keyboard
toggleKey = input.KeyCode
keybindLabel.Text = toggleKey.Name
waitingForKeyInput =
waitingForGuiKeyInput input.UserInputType == .UserInputType.Keyboard
guiToggleKey = input.KeyCode
guiKeyLabel.Text = guiToggleKey.Name
waitingForGuiKeyInput =
input.KeyCode == toggleKey
()
)
UserInputService.InputEnded:((input)
input.UserInputType == .UserInputType.Keyboard input.KeyCode == guiToggleKey
frame.Visible = frame.Visible
)
RunService.RenderStepped:(()
flying bodyVelocity bodyGyro
cam = .CurrentCamera
move = .zero
UserInputService:(.KeyCode.W) move += cam.CFrame.LookVector
UserInputService:(.KeyCode.S) move -= cam.CFrame.LookVector
UserInputService:(.KeyCode.A) move -= cam.CFrame.RightVector
UserInputService:(.KeyCode.D) move += cam.CFrame.RightVector
UserInputService:(.KeyCode.Space) move += cam.CFrame.UpVector
UserInputService:(.KeyCode.LeftShift) move -= cam.CFrame.UpVector
move.Magnitude >
move = move.Unit * flySpeed
bodyVelocity.Velocity = move
bodyGyro.CFrame = cam.CFrame
)
speedBox:():(()
n = (speedBox.Text)
n n >=
flySpeed = n
)
player.CharacterAdded:((char)
character = char
humanoidRootPart = character:()
()
)

Universal