UIS.InputBegan:Connect(function(a,D)if a.KeyCode==Enum.KeyCode.E then(tweenService:Create(humanoid,ti,{CameraOffset=Vector3.new(2,0,0)})):Play()end if a.KeyCode==Enum.KeyCode.Q then(tweenService:Create(humanoid,ti,{CameraOffset=Vector3.new(-2,0,0)})):Play()end end)UIS.InputEnded:Connect(function(a)if a.KeyCode==Enum.KeyCode.E or a.KeyCode==Enum.KeyCode.Q then(tweenService:Create(humanoid,ti,{CameraOffset=Vector3.new(0,0,0)})):Play()end end)

UIS.InputBegan:Connect(function(key, isTyping)
	if key.KeyCode == Enum.KeyCode.E then
		tweenService:Create(humanoid ,ti, {CameraOffset = Vector3.new(2,0,0)}):Play()
	end
	if key.KeyCode == Enum.KeyCode.Q then
		tweenService:Create(humanoid ,ti, {CameraOffset = Vector3.new(-2,0,0)}):Play()
	end
	
end)

UIS.InputEnded:Connect(function(key)
	if key.KeyCode == Enum.KeyCode.E or key.KeyCode == Enum.KeyCode.Q then
		tweenService:Create(humanoid ,ti, {CameraOffset = Vector3.new(0,0,0)}):Play()
	end
end)
