Part not rotating on User Input

Currently I am trying to create a Player Controllable MAST Camera such as the one on the Curiosity Rover. The goal is to allow the player to change his/her perspective by rotating either right or left using the Keys Q and E. There are multiple approaches I could have taken to this, but I choose to use a hinge constraint motor by using its AngularVelocity. This however has not been working and every time I press or hold a key the part does not move even though the input prints it is working and it says the angular velocity is changing as well. Any help is appreciated, thanks!

The Code:

local UserInputService = game:GetService("UserInputService")

local MASTControl = game.Workspace.Curiosity.MASTCamera.HingeConstraint

local qKeyPressed = false
local eKeyPressed = false

UserInputService.InputBegan:Connect(function(input, GameProcessedEvent)
	if input.KeyCode == Enum.KeyCode.Q then
		wait()
		qKeyPressed = true
		MASTControl.AngularVelocity = 1
		print("Q Key Pressed")

	elseif input.KeyCode == Enum.KeyCode.E then
		wait()
		eKeyPressed = true
		MASTControl.AngularVelocity = -1
		print(MASTControl.AngularVelocity)
		print("E Key Pressed")

	end
end)

UserInputService.InputEnded:Connect(function(input)
	if input.KeyCode == Enum.KeyCode.Q then
		qKeyPressed = false
		MASTControl.AngularVelocity = 0
		wait()
		print("input finished")
	elseif input.KeyCode == Enum.KeyCode.E then
		eKeyPressed = false
		MASTControl.AngularVelocity = 0
		wait()
		print("input finished")
	end
end)