Run it
Copy the script and paste it into your executor.
UserInputService = :()
Players = :()
player = Players.LocalPlayer
character = player.Character player.CharacterAdded:()
humanoid = character:()
humanoidRootPart = character:()
flying =
speed =
flyHeight =
bodyVelocity = .()
bodyVelocity.MaxForce = .(, , )
bodyVelocity.Velocity = .(, , )
bodyVelocity.P =
flyingLabel = .()
flyingLabel.Size = .(, , , )
flyingLabel.Position = .(, -, , -)
flyingLabel.BackgroundTransparency =
flyingLabel.TextColor3 = .(, , )
flyingLabel.TextScaled =
flyingLabel.Text =
flyingLabel.Parent = player.PlayerGui:()
()
flying
bodyVelocity.Parent =
humanoid.PlatformStand =
flying =
flyingLabel.Text =
bodyVelocity.Parent = humanoidRootPart
humanoid.PlatformStand =
flying =
flyingLabel.Text =
()
flying
camera = .CurrentCamera
direction = .(, , )
forward = (camera.CFrame.LookVector * speed)
right = (camera.CFrame.RightVector * speed)
up = .(, , ) * flyHeight
UserInputService:(.KeyCode.W)
direction = direction + forward
UserInputService:(.KeyCode.S)
direction = direction - forward
UserInputService:(.KeyCode.A)
direction = direction - right
UserInputService:(.KeyCode.D)
direction = direction + right
UserInputService:(.KeyCode.Space)
direction = direction + up
UserInputService:(.KeyCode.LeftControl)
direction = direction - up
bodyVelocity.Velocity = direction
UserInputService.InputBegan:((input, gameProcessed)
gameProcessed
input.UserInputType == .UserInputType.Keyboard
input.KeyCode == .KeyCode.F
()
)
:().Heartbeat:(()
()
)
Press F to start flying. F again to stop flying. For every game.