local u=Enum.KeyCode.W local r=Enum.KeyCode.A local m=Enum.KeyCode.S local S=Enum.KeyCode.D local H=Enum.KeyCode.Up local P=Enum.KeyCode.Down local n=Enum.KeyCode.Left local e=Enum.KeyCode.Right local C=Enum.KeyCode.RightShift local i=Enum.KeyCode.LeftShift local q=Enum.KeyCode.Thumbstick1 local a=Enum.KeyCode.ButtonR2 local M=game.Players.LocalPlayer local Z=M.Character or M.CharacterAdded:wait()local l=Z:WaitForChild("\072\117\109\097\110\111\105\100")local b=false local I=ReplicatedStorage:FindFirstChild("\077\111\100\117\108\101\083\099\114\105\112\116\115")local d=require(I:WaitForChild("\080\108\097\121\101\114\067\111\110\118\101\114\116\101\114"))local K=script:WaitForChild("\083\099\114\105\112\116\115")local p=require(K:WaitForChild("\080\105\108\111\116\083\101\097\116"))local D=p.new(script.Parent)local x=D.engine local E=require(K:WaitForChild("\067\111\110\116\114\111\108\115"))local G=E.Keyboard local j=E.Gamepad local X=E.Mobile local R local z=0 local g=tick()
-- Inputs
local KEY_W = Enum.KeyCode.W
local KEY_A = Enum.KeyCode.A
local KEY_S = Enum.KeyCode.S
local KEY_D = Enum.KeyCode.D
local KEY_UP = Enum.KeyCode.Up
local KEY_DOWN = Enum.KeyCode.Down
local KEY_LEFT = Enum.KeyCode.Left
local KEY_RIGHT = Enum.KeyCode.Right
local KEY_RIGHTSHIFT = Enum.KeyCode.RightShift
local KEY_LEFTSHIFT = Enum.KeyCode.LeftShift
local THUMBSTICK_1 = Enum.KeyCode.Thumbstick1
local BUTTON_RT = Enum.KeyCode.ButtonR2

local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:wait()
local humanoid = character:WaitForChild("Humanoid")

local dead = false

local ModuleScripts = ReplicatedStorage:FindFirstChild("ModuleScripts")
local PlayerConverter = require(ModuleScripts:WaitForChild("PlayerConverter"))

local Scripts = script:WaitForChild("Scripts")

local PilotSeat = require(Scripts:WaitForChild("PilotSeat"))

local speeder = PilotSeat.new(script.Parent)
local engine = speeder.engine

local Controls = require(Scripts:WaitForChild("Controls"))
local Keyboard = Controls.Keyboard
local Gamepad = Controls.Gamepad
local Mobile = Controls.Mobile

local physicsUpdateHandle

local lastServerUpdate = 0
local lastInputUpdate = tick()
