-- Services local Players = game:GetService("Players") local RunService = game:GetService("RunService")
UserInputService.InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.F then flying = not flying end end)
local flying = false local flySpeed = 20