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

local LETTERBOX = false
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.Y },
	[DIRECTION_DOWN] = { Enum.KeyCode.Q, Enum.KeyCode.I },
}

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.Visible = false
	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
