local q=70 local U=math.tan((q*math.pi)/360)local j=Vector3.new(1,.75,1)local Z=Vector2.new(.85,1)/128 local K=-330 local m=.125 local H=CFrame.new(0,0,-16)local t=1 local A=2 local N=3 local o=4 local a=5 local y=6 local E={[t]={Enum.KeyCode.A;Enum.KeyCode.H};[A]={Enum.KeyCode.D;Enum.KeyCode.K};[N]={Enum.KeyCode.W;Enum.KeyCode.U},[o]={Enum.KeyCode.S;Enum.KeyCode.J},[a]={Enum.KeyCode.E,Enum.KeyCode.I},[y]={Enum.KeyCode.Q;Enum.KeyCode.Y}}function CreateLetterBox()local q=Instance.new("\070\114\097\109\101")q.Name="\084\111\112\066\097\114"q.Position=UDim2.new(0,0,0,-36)q.Size=UDim2.new(1,0,.128,0)q.ZIndex=10 q.BackgroundColor3=Color3.new(0,0,0)q.BorderSizePixel=0 q.Parent=script.Parent local U=q:Clone()U.Name="\066\111\116\116\111\109\066\097\114"U.Position=UDim2.new(0,0,1,0)U.AnchorPoint=Vector2.new(0,1)U.Parent=script.Parent return script.Parent end
------------------------------------------------

local DEF_FOV = 70
local NM_ZOOM = math.tan(DEF_FOV * math.pi / 360)
local LVEL_GAIN = Vector3.new(1, 0.75, 1)
local RVEL_GAIN = Vector2.new(0.85, 1) / 128
local FVEL_GAIN = -330
local DEADZONE = 0.125
local FOCUS_OFFSET = CFrame.new(0, 0, -16)

local DIRECTION_LEFT = 1
local DIRECTION_RIGHT = 2
local DIRECTION_FORWARD = 3
local DIRECTION_BACKWARD = 4
local DIRECTION_UP = 5
local DIRECTION_DOWN = 6

local KEY_MAPPINGS = {
	[DIRECTION_LEFT] = { Enum.KeyCode.A, Enum.KeyCode.H },
	[DIRECTION_RIGHT] = { Enum.KeyCode.D, Enum.KeyCode.K },
	[DIRECTION_FORWARD] = { Enum.KeyCode.W, Enum.KeyCode.U },
	[DIRECTION_BACKWARD] = { Enum.KeyCode.S, Enum.KeyCode.J },
	[DIRECTION_UP] = { Enum.KeyCode.E, Enum.KeyCode.I },
	[DIRECTION_DOWN] = { Enum.KeyCode.Q, Enum.KeyCode.Y },
}

function CreateLetterBox()
	local topBar = Instance.new("Frame")
	topBar.Name = "TopBar"
	topBar.Position = UDim2.new(0, 0, 0, -36)
	topBar.Size = UDim2.new(1, 0, 0.128, 0)
	topBar.ZIndex = 10
	topBar.BackgroundColor3 = Color3.new(0, 0, 0)
	topBar.BorderSizePixel = 0
	topBar.Parent = script.Parent

	local bottomBar = topBar:Clone()
	bottomBar.Name = "BottomBar"
	bottomBar.Position = UDim2.new(0, 0, 1, 0)
	bottomBar.AnchorPoint = Vector2.new(0, 1)
	bottomBar.Parent = script.Parent
	return script.Parent
end
